Searched refs:allocate (Results 26 - 50 of 279) sorted by relevance

1234567891011>>

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/events/
H A DStAXEventReader.java61 _currentEvent =_eventAllocator.allocate(_streamReader);
84 nextEvent = _eventAllocator.allocate(_streamReader);
152 return _eventAllocator.allocate(_streamReader);
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPromotionManager.inline.hpp93 new_obj = (oop) _young_lab.allocate(new_obj_size);
95 // Do we allocate directly, or flush and refill?
107 new_obj = (oop) _young_lab.allocate(new_obj_size);
124 new_obj = (oop) _old_lab.allocate(new_obj_size);
129 // Do we allocate directly, or flush and refill?
141 new_obj = (oop) _old_lab.allocate(new_obj_size);
H A DpsPromotionLAB.hpp97 HeapWord* allocate(size_t size) { function in class:PSYoungPromotionLAB
129 HeapWord* allocate(size_t size) { function in class:PSOldPromotionLAB
/openjdk7/jdk/test/java/nio/channels/DatagramChannel/
H A DDisconnect.java65 ByteBuffer bb = ByteBuffer.allocate(100);
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DCloseRegisteredChannel.java56 int nb = slave.read (ByteBuffer.allocate (1024));
H A DOutOfBand.java77 ByteBuffer bb = ByteBuffer.allocate(100);
113 ByteBuffer bb = ByteBuffer.allocate(256);
141 ByteBuffer bb = ByteBuffer.allocate(100);
168 ByteBuffer bb = ByteBuffer.allocate(100);
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DInOutBuffers.java42 ByteBuffer b = ByteBuffer.allocate(16);
/openjdk7/jdk/test/sun/nio/cs/
H A DDecoderOverflow.java56 CharBuffer out = CharBuffer.allocate(text.length()/2);
H A DLeftOverSurrogate.java42 ByteBuffer bb = ByteBuffer.allocate(10);
H A DSurrogateGB18030Test.java90 ByteBuffer bb = ByteBuffer.allocate(4);
111 CharBuffer cb = CharBuffer.allocate(2);
H A DTestUTF_16.java153 .decode((ByteBuffer)(ByteBuffer.allocate(4)
158 CharBuffer.allocate(1),
H A DNIOJISAutoDetectTest.java221 ByteBuffer bb = ByteBuffer.allocate(128);
222 CharBuffer cb = CharBuffer.allocate(128);
259 ByteBuffer bb = ByteBuffer.allocate(128);
260 CharBuffer charOutput = CharBuffer.allocate(128);
261 CharBuffer charExpected = CharBuffer.allocate(128);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderQueue.java88 buf = RenderBuffer.allocate(BUFFER_SIZE);
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/
H A DPerfDataBuffer.java63 ByteBuffer buffer = ByteBuffer.allocate(rvm.getCapacity());
/openjdk7/langtools/test/tools/javac/versions/
H A DCheckClassFileVersion.java32 ByteBuffer bb = ByteBuffer.allocate(1024);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DSSLStreams.java187 private ByteBuffer allocate (BufType type) { method in class:SSLStreams
188 return allocate (type, -1);
191 private ByteBuffer allocate (BufType type, int len) { method in class:SSLStreams
214 return ByteBuffer.allocate (size);
229 ByteBuffer n = allocate (type, nsize);
261 unwrap_src = allocate(BufType.PACKET);
262 wrap_dst = allocate(BufType.PACKET);
434 ByteBuffer tmp = allocate(BufType.APPLICATION);
454 ByteBuffer tmp = allocate(BufType.APPLICATION);
507 bbuf = allocate (BufTyp
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1AllocRegion.inline.hpp30 inline HeapWord* G1AllocRegion::allocate(HeapRegion* alloc_region, function in class:G1AllocRegion
38 return alloc_region->allocate(word_size);
H A Dg1AllocRegion.cpp39 assert(allocate(dummy_region, 1, false) == NULL, "should fail");
41 assert(allocate(dummy_region, 1, true) == NULL, "should fail");
53 // Other threads might still be trying to allocate using a CAS out
56 // can allocate out of it by doing a maximal allocation. Even if our
64 // allocate in this region anyway (all allocation requests will be
124 HeapWord* result = allocate(new_alloc_region, word_size, _bot_updates);
/openjdk7/jdk/src/share/sample/nio/server/
H A DReply.java90 CharBuffer cb = CharBuffer.allocate(1024);
102 cb = CharBuffer.allocate(cb.capacity() * 2);
H A DChannelIOSecure.java51 * used through the lifetime of the Channel. We allocate byte buffers
128 private static ByteBuffer hsBB = ByteBuffer.allocate(0);
174 inNetBB = ByteBuffer.allocate(netBBSize);
175 outNetBB = ByteBuffer.allocate(netBBSize);
183 * We need to allocate different sized application data buffers
196 cio.requestBB = ByteBuffer.allocate(cio.appBBSize);
213 ByteBuffer bb = ByteBuffer.allocate(netBBSize);
569 fileChannelBB = ByteBuffer.allocate(appBBSize);
/openjdk7/hotspot/src/share/vm/memory/
H A DoopFactory.cpp116 return ck->allocate(length, is_conc_safe, CHECK_NULL);
123 return ck->allocate(length, CHECK_NULL);
149 return cmk->allocate(byte_code_size, compressed_line_number_size,
173 return mk->allocate(rw, access_flags, CHECK_NULL);
179 return mdk->allocate(method, CHECK_NULL);
185 compiledICHolderOop c = ck->allocate(CHECK_NULL);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DBaseFileManager.java196 return (CharBuffer)CharBuffer.allocate(1).flip();
199 return (CharBuffer)CharBuffer.allocate(1).flip();
207 allocate(10 + (int)(inbuf.remaining()*factor));
216 dest = CharBuffer.allocate(dest.capacity()+1).put(dest);
224 dest = CharBuffer.allocate(newCapacity).put(dest);
286 allocate(limit <<= 1).
311 : ByteBuffer.allocate(capacity + capacity>>1);
/openjdk7/jaxp/src/com/sun/xml/internal/stream/
H A DXMLEventReaderImpl.java55 fPeekedEvent = fXMLEventAllocator.allocate(fXMLReader);
84 return fLastEvent = fXMLEventAllocator.allocate(fXMLReader);
187 fLastEvent = fXMLEventAllocator.allocate(fXMLReader);
242 return (fLastEvent = fXMLEventAllocator.allocate(fXMLReader));
276 fPeekedEvent = fXMLEventAllocator.allocate(fXMLReader);
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DparGCAllocBuffer.hpp76 HeapWord* allocate(size_t word_sz) { function in class:ParGCAllocBuffer
238 HeapWord* allocate(size_t word_sz) { function in class:ParGCAllocBufferWithBOT
239 HeapWord* res = ParGCAllocBuffer::allocate(word_sz);
/openjdk7/jdk/test/com/sun/net/httpserver/bugs/
H A DB6361557.java68 final static ByteBuffer requestBuf = ByteBuffer.allocate(64).put(request.getBytes());
113 schan.register(selector, SelectionKey.OP_READ, ByteBuffer.allocate(100));

Completed in 1697 milliseconds

1234567891011>>