Searched refs:allocate (Results 176 - 200 of 279) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/javax/crypto/Cipher/
H A DByteBuffersNull.java74 ByteBuffer bb = ByteBuffer.allocate(capacity);
/openjdk7/jdk/test/sun/management/jdp/
H A DJdpClient.java62 ByteBuffer buf = ByteBuffer.allocate(1024);
/openjdk7/jdk/test/sun/net/www/httptest/
H A DHttpServer.java157 consumeBuffer = ByteBuffer.allocate (512);
418 chanbuf = ByteBuffer.allocate (1024);
509 markBuf = ByteBuffer.allocate (readlimit);
554 buf = ByteBuffer.allocate (len);
/openjdk7/hotspot/src/share/vm/memory/
H A Dgeneration.hpp153 // allocate and initialize ("weak") refs processing support
250 // Returns "true" iff this generation should be used to allocate an
266 virtual HeapWord* allocate(size_t word_size, bool is_tlab) = 0;
268 // Like "allocate", but performs any necessary locking internally.
288 // allocation will be concurrent with plain "allocate" calls.
319 // "word_sz". If possible, allocate space for "obj", copy obj into it
360 // slow path (the only fast-path place to allocate is DefNew, which
503 // of the target. The requestor promises to allocate no more than
722 virtual inline HeapWord* allocate(size_t word_size, bool is_tlab);
H A DtenuredGeneration.cpp70 vm_exit_during_initialization("Could not allocate alloc_buffers");
75 vm_exit_during_initialization("Could not allocate alloc_buffers");
347 HeapWord* obj_ptr = buf->allocate(word_sz);
368 obj_ptr = buf->allocate(word_sz);
H A DdefNewGeneration.cpp178 vm_exit_during_initialization("Could not allocate a new gen space");
188 // allocate the performance counters
492 // so we try to allocate the from-space, too.
512 result = from()->allocate(size);
529 return allocate(size, is_tlab);
762 obj = (oop) to()->allocate(s);
998 HeapWord* DefNewGeneration::allocate(size_t word_size, function in class:DefNewGeneration
1002 // We try to allocate from the eden. If that works, we are happy.
1023 // there are no reasons to do an attempt to allocate
1027 // Try to allocate unti
[all...]
H A DdefNewGeneration.hpp262 assert(UseTLAB || !is_tlab, "Should not allocate tlab");
279 HeapWord* allocate(size_t word_size, bool is_tlab);
H A DgenCollectedHeap.hpp132 char* allocate(size_t alignment, PermanentGenerationSpec* perm_gen_spec,
307 // requestor promises to allocate no more than "max_alloc_words" in any
511 // Otherwise, try expand-and-allocate for obj in each generation starting at
/openjdk7/jdk/test/java/net/ResponseCache/
H A Dfile2.1152 ByteBuffer buf = ByteBuffer.allocate(len);
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DSelectorTest.java233 data = ByteBuffer.allocate(100);
377 bin = ByteBuffer.allocate(100);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DRehandshakeFinished.java437 clientIn = ByteBuffer.allocate(appBufferMax + 50);
438 serverIn = ByteBuffer.allocate(appBufferMax + 50);
/openjdk7/jdk/src/share/instrument/
H A DJPLISAgent.c246 return (JPLISAgent *) allocate( jvmtienv,
344 ourCopyOfAgentClassName = allocate(jvmti(agent), strlen(agentClassName)+1);
349 ourCopyOfOptionsString = allocate(jvmti(agent), strlen(optionsString)+1);
856 /* allocate the response buffer with the JVMTI allocate call.
863 jplis_assert_msg(!errorOutstanding, "can't allocate result buffer");
1109 classArray = (jclass *) allocate(retransformerEnv,
1203 classDefs = (jvmtiClassDefinition *) allocate(
1220 targetFiles = (jbyteArray *) allocate(jvmtienv,
1492 /* allocate th
[all...]
/openjdk7/jdk/test/demo/zipfs/
H A DZipFSTester.java538 ByteBuffer bbSrc = ByteBuffer.allocate(8192);
539 ByteBuffer bbDst = ByteBuffer.allocate(8192);
594 ByteBuffer bb = ByteBuffer.allocate(8192);
615 ByteBuffer bb = ByteBuffer.allocate(8192);
668 bb = ByteBuffer.allocate((int)sbc.size());
675 bb2 = ByteBuffer.allocate((int)sbc.size());
/openjdk7/jdk/test/java/nio/Buffer/
H A DBasicByte.java123 ByteBuffer c = ByteBuffer.allocate(n + 7);
510 ByteBuffer b2 = ByteBuffer.allocate(b.capacity());
762 ? ByteBuffer.allocate(rb.capacity())
898 ByteBuffer.allocate(-1);
910 test(0, ByteBuffer.allocate(7 * 1024), false);
923 callReset(ByteBuffer.allocate(10));
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/
H A DBasic.java360 ByteBuffer buf = ByteBuffer.allocate(1);
402 ByteBuffer buf = ByteBuffer.allocate(1);
484 ByteBuffer buf = ByteBuffer.allocate(size);
578 ByteBuffer buf = ByteBuffer.allocate(1);
747 ByteBuffer dst = ByteBuffer.allocate(512);
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiEnv.cpp126 return allocate(size, mem_ptr);
625 jvmtiError err = allocate(len, (unsigned char**)name_ptr);
1027 if ((err = allocate(owned_monitor_count * sizeof(jobject *),
1073 if ((err = allocate(owned_monitor_count * sizeof(jvmtiMonitorStackDepthInfo),
2132 jvmtiError err = allocate(strlen(gen_sig) + 1,
2447 jvmtiError res = allocate(cpool_size, &cpool_bytes);
2623 jvmtiError err = allocate(strlen(gen_sig) + 1, (unsigned char **)generic_ptr);
2699 jvmtiError err = allocate(strlen(gen_sig) + 1, (unsigned char **)generic_ptr);
2903 jvmtiError err = allocate(size, bytecodes_ptr);
3393 err = allocate(*count_pt
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegion.hpp160 // are also concurrently trying to allocate into it, we typically
161 // allocate a dummy object at the end of the region to ensure that
199 virtual HeapWord* allocate(size_t word_size);
386 return ContiguousSpace::allocate(word_size);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DReceive.java97 ByteBuffer buffer = ByteBuffer.allocate(Util.LARGE_BUFFER);
319 ByteBuffer buffer = ByteBuffer.allocate(10);
H A DSend.java95 ByteBuffer buffer = ByteBuffer.allocate(Util.LARGE_BUFFER);
359 ByteBuffer expected = ByteBuffer.allocate(Util.SMALL_BUFFER);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/
H A DSend.java87 ByteBuffer buffer = ByteBuffer.allocate(Util.LARGE_BUFFER);
309 ByteBuffer expected = ByteBuffer.allocate(Util.SMALL_BUFFER);
/openjdk7/jdk/test/java/lang/Appendable/
H A DBasic.java351 CharBuffer cb = CharBuffer.allocate(128).put(s);
382 test(CharBuffer.allocate(128), a, testCharBuffer);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransfers.java88 ByteBuffer bb = ByteBuffer.allocate(len);
121 ByteBuffer bb = ByteBuffer.allocate(sz);
/openjdk7/jdk/test/sun/nio/cs/
H A DFindDecoderBugs.java171 ribs[i] = ByteBuffer.allocate(i);
173 robs[i] = CharBuffer.allocate(i);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DByteBufferWithInfo.java119 // don't allocate from pool, allocate non-direct ByteBuffer
120 this.byteBuffer = ByteBuffer.allocate(bufferSize);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DmutableSpace.cpp174 HeapWord* MutableSpace::allocate(size_t size) { function in class:MutableSpace

Completed in 92 milliseconds

1234567891011>>