/openjdk7/hotspot/src/share/vm/memory/ |
H A D | allocation.inline.hpp | 32 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 D | resourceArea.hpp | 71 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 D | compiledICHolderKlass.cpp | 44 // 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 D | klassKlass.cpp | 105 // 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 D | regalloc.cpp | 108 // 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 D | SnmpSubBulkRequestHandler.java | 90 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 D | MidiOutDevice.java | 173 private native void nSendLongMessage(long id, byte[] data, int size, long timeStamp); argument
|
H A D | SoftLanczosResampler.java | 54 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 D | SoftSincResampler.java | 60 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 D | UnsyncBufferedOutputStream.java | 35 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 D | UnsyncByteArrayOutputStream.java | 39 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 D | BindingsEntrySet.java | 45 public int size() { method in class:BindingsEntrySet
|
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | EventQueueImpl.java | 67 synchronized int size() { method in class:EventQueueImpl 68 return eventSets.size();
|
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/ |
H A D | MimeTypeParameterList.java | 84 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 D | os_posix.cpp | 57 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 D | SlotWidget.java | 120 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 D | AquaBorder.java | 66 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 D | AquaTextFieldBorder.java | 59 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 D | PLATFORM_API_MacOSX_MidiOut.c | 183 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 D | MacOSXFramework.java | 31 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 D | ArrayTypeImpl.c | 109 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 D | vmStructs.hpp | 83 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 D | memRecorder.cpp | 120 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 D | memTrackWorker.cpp | 66 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 D | sharkRuntime.cpp | 115 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);
|