Searched refs:allocated (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/share/back/
H A Dbag.c34 int allocated; /* space reserved */ member in struct:bag
51 theBag->allocated = initialAllocation;
60 oldBag->allocated);
96 int allocated = theBag->allocated; local
102 if (theBag->used >= allocated) {
104 allocated *= 2;
105 new_items = jvmtiAllocate(allocated * itemSize);
112 theBag->allocated = allocated;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSizeRequirements.java43 * or at the coordinate representing the end of the allocated span
241 * the total amount of space to be allocated,
249 * @param allocated the total span to be allocated >= 0.
254 * the spans were allocated (determines placement of the span).
255 * @param spans the span allocated for each child to make the
258 public static void calculateTiledPositions(int allocated, argument
263 calculateTiledPositions(allocated, total, children, offsets, spans, true);
270 * the total amount of space to be allocated,
280 * of the allocated spac
298 calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean forward) argument
323 compressedTile(int allocated, long min, long pref, long max, SizeRequirements[] request, int[] offsets, int[] spans, boolean forward) argument
357 expandedTile(int allocated, long min, long pref, long max, SizeRequirements[] request, int[] offsets, int[] spans, boolean forward) argument
416 calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans) argument
455 calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal) argument
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dbytes.cpp132 if (nlen <= allocated) {
138 if (maxlen < allocated*2) maxlen = allocated*2;
139 if (allocated == 0) {
148 allocated = b.len;
149 if (allocated != maxlen) {
156 assert(b.len <= allocated);
161 if (allocated >= s) return;
H A Dbytes.h83 size_t allocated; member in struct:fillbytes
89 byte* end() { return b.ptr + allocated; } // physical limit
91 void init() { allocated = 0; b.set(null, 0); }
93 void free() { if (allocated != 0) b.free(); allocated = 0; }
98 void ensureSize(size_t s); // make sure allocated >= s
99 void trimToSize() { if (allocated > size()) b.realloc(allocated = size()); }
100 bool canAppend(size_t s) { return allocated > b.len+s; }
106 allocated
[all...]
H A Dunpack.cpp299 // free everybody ever allocated with U_NEW or (recently) with T_NEW
711 input.b.len = input.allocated;
722 input.b.len = input.allocated;
1051 assert(charbuf.allocated == 0 || tmallocs.contains(charbuf.base()));
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1BlockOffsetTable.hpp65 HeapWord* _end; // End of currently allocated region.
413 // block has been newly allocated or freed. It is assumed (and
416 inline void allocated(HeapWord* blk_start, HeapWord* blk_end) {
424 inline void allocated(HeapWord* blk, size_t size) {
425 allocated(blk, blk + size);
439 // If true, initialize array slots with no allocated blocks to zero.
H A Dg1BlockOffsetTable.cpp206 // The block [blk_start, blk_end) has been allocated;
212 allocated(blk_start, blk_end);
/openjdk7/hotspot/src/share/vm/memory/
H A DblockOffsetTable.hpp57 HeapWord* _end; // End of currently allocated region.
394 // If true, initialize array slots with no allocated blocks to zero.
475 // block has been newly allocated or freed. It is assumed (and
478 void allocated(HeapWord* blk_start, HeapWord* blk_end, bool reducing = false) {
486 void allocated(HeapWord* blk, size_t size, bool reducing = false) {
487 allocated(blk, blk + size, reducing);
H A DblockOffsetTable.cpp353 // That's all of the allocated block table.
358 // First check if the start is an allocated block and only
375 // The block [blk_start, blk_end) has been allocated;
387 allocated(blk_start, blk_end);
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DcompactibleFreeListSpace.cpp120 // has to have the klass's klassKlass allocated at a lower
274 // Everything's allocated until proven otherwise.
637 // of chunks as they are allocated out of a LinAB are.
765 // may suddenly be allocated or divided up and part of it allocated and
1003 // has been allocated so try again.
1026 // unparsable but allocated objects. This avoids any possible
1153 // when we know that it's dead; if the bitmap is not allocated then
1155 return (dead_map->sizeInBits() == 0) // bit_map has been allocated
1237 // mangle a just allocated objec
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DCSS.java3196 int allocated = targetSpan - totalSpacing;
3197 long desiredAdjustment = allocated - preferred;
3229 ((allocated > preferred) ?
3235 int availableSpan = (allocated > preferred) ?
3240 ((allocated > preferred) ? adj : -adj));
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceKlass.hpp146 allocated, // allocated (but not yet linked) enumerator in enum:instanceKlass::ClassState
267 OopMapCache* volatile _oop_map_cache; // OopMapCache for all methods in the klass (allocated lazily)
843 // - the class is java/lang/Class, which cannot be allocated directly
H A DinstanceKlassKlass.cpp431 ik->set_init_state(instanceKlass::allocated);
474 "unparseable_by_gc", "allocated", "loaded", "linked", "being_initialized", "fully_initialized", "initialization_error"
H A DinstanceKlass.cpp1272 // Free up either the old cache or the new cache if we allocated one.
1436 // we allocated a new cache so free the old one
2543 assert(good_state || state == allocated, "illegal state transition");
2941 // Since _prev_EMCP_method_handles is not C-heap allocated, we
2965 // safe to delete the GrowableArray allocated in the
/openjdk7/hotspot/src/cpu/x86/vm/
H A DtemplateTable_x86_32.cpp3571 Label allocated; local
3596 __ jccb(Assembler::notZero, allocated); // if found, continue with that one
3619 __ bind(allocated);
H A DtemplateTable_x86_64.cpp3639 Label allocated; local
3673 __ jcc(Assembler::notZero, allocated); // if found, continue with that one
3699 __ bind(allocated);
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DtemplateTable_sparc.cpp3475 // has been allocated.
3485 // bump total bytes allocated by this thread
3724 // Monitor elements are dynamically allocated by growing stack as needed.
3781 { Label allocated;
3784 __ br_notnull_short(O1, Assembler::pn, allocated);
3789 __ bind(allocated);
/openjdk7/hotspot/src/share/vm/runtime/
H A DvmStructs.cpp2342 declare_constant(instanceKlass::allocated) \

Completed in 166 milliseconds