Searched defs:size (Results 276 - 300 of 1126) sorted by relevance

<<11121314151617181920>>

/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.inline.hpp32 void trace_heap_malloc(size_t size, const char* name, void *p);
51 inline char* AllocateHeap(size_t size, MEMFLAGS flags, address pc = 0, argument
56 char* p = (char*) os::malloc(size, flags, pc);
58 if (PrintMallocFree) trace_heap_malloc(size, "AllocateHeap", p);
61 vm_exit_out_of_memory(size, "AllocateHeap");
65 inline char* ReallocateHeap(char *old, size_t size, MEMFLAGS flags, argument
67 char* p = (char*) os::realloc(old, size, flags, CURRENT_PC);
69 if (PrintMallocFree) trace_heap_malloc(size, "ReallocateHeap", p);
72 vm_exit_out_of_memory(size, "ReallocateHeap");
84 template <MEMFLAGS F> void* CHeapObj<F>::operator new(size_t size, argument
95 operator new(size_t size, const std::nothrow_t& nothrow_constant, address caller_pc) argument
[all...]
H A DresourceArea.hpp71 char* allocate_bytes(size_t size, AllocFailType alloc_failmode = AllocFailStrategy::EXIT_OOM) { argument
78 return (*save = (char*)os::malloc(size, mtThread));
81 return (char*)Amalloc(size, alloc_failmode);
131 // reset arena size before delete chunks. Otherwise, the total
132 // arena size could exceed total chunk size
229 // reset arena size before delete chunks. Otherwise, the total
230 // arena size could exceed total chunk size
/openjdk7/hotspot/src/share/vm/oops/
H A DcompiledICHolderKlass.cpp44 // Make sure size calculation is right
45 assert(k()->size() == align_object_size(header_size()), "wrong size for object");
53 int size = compiledICHolderOopDesc::object_size(); local
55 CollectedHeap::permanent_obj_allocate(h_k, size, CHECK_NULL);
92 // Get size before changing pointers.
93 // Don't call size() or oop_size() since that is a virtual call.
94 int size = c->object_size(); local
99 return size;
106 // Get size befor
108 int size = c->object_size(); local
126 int size = c->object_size(); local
[all...]
H A DklassKlass.cpp105 // Get size before changing pointers
106 int size = oop_size(obj); local
126 return size;
131 // Get size before changing pointers
132 int size = oop_size(obj); local
158 return size;
163 // Get size before changing pointers
164 int size = oop_size(obj); local
177 return size;
/openjdk7/hotspot/src/share/vm/opto/
H A Dregalloc.cpp108 // Allocate _node_regs table with at least "size" elements
109 void PhaseRegAlloc::alloc_node_regs(int size) { argument
110 _node_regs_max_index = size + (size >> 1) + NodeRegsOverflowSize;
112 // We assume our caller will fill in all elements up to size-1, so
114 for( uint i = size; i < _node_regs_max_index; ++i )
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/daemon/
H A DSnmpSubBulkRequestHandler.java90 size= varBind.size();
270 for(int i=0; i < size; i++) {
304 int localR= size - nonRepeat;
344 protected int size=0; field in class:SnmpSubBulkRequestHandler
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DMidiOutDevice.java173 private native void nSendLongMessage(long id, byte[] data, int size, long timeStamp); argument
H A DSoftLanczosResampler.java54 public static float[] sincTable(int size, float offset) { argument
55 int center = size / 2;
56 float[] w = new float[size];
57 for (int k = 0; k < size; k++) {
H A DSoftSincResampler.java60 public static float[] wHanning(int size, float offset) { argument
61 float[] window_table = new float[size];
62 for (int k = 0; k < size; k++) {
65 / (double) size) + 0.5);
71 public static float[] sincTable(int size, float offset, float scale) { argument
72 int center = size / 2;
73 float[] w = wHanning(size, offset);
74 for (int k = 0; k < size; k++)
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DUnsyncBufferedOutputStream.java35 static final int size=8*1024; field in class:UnsyncBufferedOutputStream
38 return new byte[size];
59 if (newLen> size) {
61 if (len>size) {
80 if (pointer>= size) {
H A DUnsyncByteArrayOutputStream.java39 private int size = INITIAL_SIZE; field in class:UnsyncByteArrayOutputStream
48 if (newPos > size) {
57 if (newPos > size) {
66 if (newPos > size) {
83 int newSize = size;
90 size = newSize;
/openjdk7/jdk/src/share/classes/com/sun/script/util/
H A DBindingsEntrySet.java45 public int size() { method in class:BindingsEntrySet
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DEventQueueImpl.java67 synchronized int size() { method in class:EventQueueImpl
68 return eventSets.size();
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DMimeTypeParameterList.java84 if (this.size() != that.size()) {
237 public int size() { method in class:MimeTypeParameterList
238 return parameters.size();
280 StringBuilder buffer = new StringBuilder(parameters.size() * 16);
/openjdk7/hotspot/src/os/posix/vm/
H A Dos_posix.cpp57 jio_snprintf(buffer + n, bufferSize - n, "/core or core.%d (max size %lu kB). To ensure a full core dump, try \"ulimit -c unlimited\" before starting Java again", current_process_id(), (unsigned long)(rlim.rlim_cur >> 10));
99 char* os::reserve_memory_aligned(size_t size, size_t alignment) { argument
101 "Alignment must be a multiple of allocation granularity (page size)");
102 assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned");
104 size_t extra_size = size + alignment;
105 assert(extra_size >= size, "overflow, size is too large to allow alignment");
119 // extra_base + begin_offset + size ^
124 size_t end_offset = (extra_base + extra_size) - (aligned_base + size);
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/
H A DSlotWidget.java120 protected double calculateRelativeY(int size, int index) { argument
121 assert index >= 0 && index < size;
122 assert size > 0;
124 return height * (index + 1) / (size + 1);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaBorder.java66 protected void setSize(final Size size) { argument
67 sizeVariant = sizeDescriptor.get(size);
68 painter.state.set(size);
75 protected AquaBorder deriveBorderForSize(final Size size) { argument
79 border.setSize(size);
H A DAquaTextFieldBorder.java59 protected void setSize(final Size size) { argument
60 super.setSize(size);
108 final Dimension size = ui.getPreferredSize(jc);
109 if (size == null) return 0;
110 final int shrinkage = size.height - height;
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_MidiOut.c183 INT32 MIDI_OUT_SendLongMessage(MidiDeviceHandle* handle, UBYTE* data, UINT32 size, UINT32 timestamp) { argument
186 TRACE2("> MIDI_OUT_SendLongMessage size %d, time: %d\n", (int) size, (int) timestamp);
191 if (size == 0) {
199 UINT32 remaining = size;
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DMacOSXFramework.java31 private static native void getConstant(final long frameworkPtr, String symbol, final long bufferPtr, final int size); argument
60 protected void getConstant(final String symbol, final long retValPtr, final int size){ argument
61 assert size >= 0;
63 getConstant(getFrameworkPtr(), symbol, retValPtr, size);
66 protected void getConstant(final String symbol, final NativeArgumentBuffer out, final int size){ argument
67 getConstant(symbol, out.retValPtr, size);
70 protected void getConstant(final String symbol, final Struct out, final int size){ argument
71 getConstant(symbol, out.raw.bufferPtr, size);
/openjdk7/jdk/src/share/back/
H A DArrayTypeImpl.c109 jclass arrayClass, jint size, char *componentSignature)
124 array = JNI_FUNC_PTR(env,NewObjectArray)(env, size, componentClass, 0);
144 jclass arrayClass, jint size, char *componentSignature)
153 array = JNI_FUNC_PTR(env,NewByteArray)(env, size);
157 array = JNI_FUNC_PTR(env,NewCharArray)(env, size);
161 array = JNI_FUNC_PTR(env,NewFloatArray)(env, size);
165 array = JNI_FUNC_PTR(env,NewDoubleArray)(env, size);
169 array = JNI_FUNC_PTR(env,NewIntArray)(env, size);
173 array = JNI_FUNC_PTR(env,NewLongArray)(env, size);
177 array = JNI_FUNC_PTR(env,NewShortArray)(env, size);
108 writeNewObjectArray(JNIEnv *env, PacketOutputStream *out, jclass arrayClass, jint size, char *componentSignature) argument
143 writeNewPrimitiveArray(JNIEnv *env, PacketOutputStream *out, jclass arrayClass, jint size, char *componentSignature) argument
211 jint size; local
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DvmStructs.hpp83 int32_t isIntegerType; // Does this type represent an integer type (of arbitrary size)?
85 uint64_t size; // Size, in bytes, of the type member in struct:__anon457
/openjdk7/hotspot/src/share/vm/services/
H A DmemRecorder.cpp120 bool MemRecorder::record(address p, MEMFLAGS flags, size_t size, jint seq, address pc) { argument
138 SeqMemPointerRecordEx ap(p, flags, size, seq, pc);
142 SeqMemPointerRecord ap(p, flags, size, seq);
H A DmemTrackWorker.cpp66 void* MemTrackWorker::operator new(size_t size) { argument
71 void* MemTrackWorker::operator new(size_t size, const std::nothrow_t& nothrow_constant) { argument
72 return allocate(size, false, mtNMT);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkRuntime.cpp115 int size))
116 oop obj = oopFactory::new_typeArray(type, size, CHECK);
122 int size))
124 objArrayOop obj = oopFactory::new_objArray(klass, size, CHECK);
226 intptr_t size = urb->frame_sizes()[i]; local
227 InterpreterFrame *frame = InterpreterFrame::build(size, CHECK_0);

Completed in 344 milliseconds

<<11121314151617181920>>