Searched refs:allocate (Results 226 - 250 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DBind.java242 ByteBuffer buffer = ByteBuffer.allocate(10);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DBranch.java93 ByteBuffer buffer = ByteBuffer.allocate(Util.LARGE_BUFFER);
H A DSocketOptionTests.java158 ByteBuffer buffer = ByteBuffer.allocate(Util.SMALL_BUFFER);
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLock.java201 buf = ByteBuffer.allocate(1);
/openjdk7/jdk/test/java/nio/charset/coders/
H A DBashStreams.java244 private CharBuffer cb = CharBuffer.allocate(8192);
/openjdk7/jdk/src/share/demo/jvmti/minst/
H A Dminst.c268 jvmti_space = (unsigned char *)allocate(jvmti, (jint)new_length);
/openjdk7/jdk/test/java/util/zip/
H A DFlaterCriticalArray.java261 ByteBuffer bb = ByteBuffer.allocate(8);
H A DLargeZip.java99 ByteBuffer bb = ByteBuffer.allocate(DATA_SIZE);
/openjdk7/jdk/src/solaris/classes/sun/nio/cs/ext/
H A DCOMPOUND_TEXT_Encoder.java344 private CharBuffer fcb= CharBuffer.allocate(0);
/openjdk7/jdk/test/sun/nio/cs/
H A DTestISO2022CNDecoder.java144 CharBuffer cb = CharBuffer.allocate(encoded.length*(int)dec.maxCharsPerByte());
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1CollectedHeap.hpp493 // This is the second level of trying to allocate a new region. If
500 // Try to allocate a single non-humongous HeapRegion sufficient for
521 // Attempt to allocate a humongous object of the given size. Return
568 // First-level mutator allocation attempt: try to allocate out of
600 // heap, and then allocate a block of the given size. The block
1565 // ensure that we don't try to allocate a TLAB as
1566 // humongous and that we don't allocate a humongous
1912 obj = alloc_buf->allocate(word_sz);
1920 HeapWord* allocate(GCAllocPurpose purpose, size_t word_sz) {
1921 HeapWord* obj = alloc_buffer(purpose)->allocate(word_s
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DTrueTypeFont.java441 ByteBuffer buffer = ByteBuffer.allocate(length);
451 buffer = ByteBuffer.allocate(fileSize-offset);
473 /* This is used by native code which can't allocate a direct byte
832 ByteBuffer buffer = ByteBuffer.allocate(entry.length);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dthread.hpp109 void* operator new(size_t size) { return allocate(size, true); }
110 void* operator new(size_t size, std::nothrow_t& nothrow_constant) { return allocate(size, false); }
114 static void* allocate(size_t size, bool throw_excpt, MEMFLAGS flags = mtThread);
239 debug_only (int _allow_allocation_count;) // If 0, the thread is allowed to allocate oops.
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcompactibleFreeListSpace.hpp426 HeapWord* allocate(size_t size);
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsOldGen.cpp130 vm_exit_during_initialization("Could not allocate an old gen space");
185 HeapWord* PSOldGen::allocate(size_t word_size) { function in class:PSOldGen
/openjdk7/hotspot/src/share/vm/memory/
H A Dallocation.hpp84 // The following macros and function should be used to allocate memory
331 // Fast allocate in the arena. Common case is: pointer test + increment.
457 // new or delete (allocation_type is unknown). If new is used to allocate,
587 // Helper class to allocate arrays that may become large.
610 E* allocate(size_t length);
H A Dheap.cpp186 void* CodeHeap::allocate(size_t size) { function in class:CodeHeap
/openjdk7/hotspot/src/share/vm/oops/
H A DmethodKlass.cpp65 methodOop methodKlass::allocate(constMethodHandle xconst, function in class:methodKlass
H A DtypeArrayKlass.cpp118 return allocate(length, THREAD);
/openjdk7/jdk/test/java/nio/file/Files/
H A DSBC.java181 sbc.read(ByteBuffer.allocate(100));
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/v1_0/
H A DPerfDataBuffer.java443 LongBuffer lb = LongBuffer.allocate(1);
/openjdk7/jdk/test/sun/security/krb5/
H A DRFC396xTest.java207 ByteBuffer bb = ByteBuffer.allocate(4);
/openjdk7/jdk/src/share/classes/java/util/
H A DScanner.java580 buf = CharBuffer.allocate(BUFFER_SIZE);
885 CharBuffer newBuf = CharBuffer.allocate(newSize);
/openjdk7/hotspot/src/share/vm/code/
H A DcodeCache.cpp167 CodeBlob* CodeCache::allocate(int size) { function in class:CodeCache
178 cb = (CodeBlob*)_heap->allocate(size);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DmutableNUMASpace.cpp765 HeapWord* MutableNUMASpace::allocate(size_t size) { function in class:MutableNUMASpace
783 HeapWord *p = s->allocate(size);
831 // We were the last to allocate and created a fragment less than

Completed in 105 milliseconds

1234567891011>>