Searched defs:GrainBytes (Results 1 - 2 of 2) sorted by relevance

/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A DheapRegion.cpp38 size_t HeapRegion::GrainBytes = 0; member in class:HeapRegion
327 guarantee(GrainBytes == 0, "we should only set it once");
330 GrainBytes = (size_t)region_size;
333 GrainWords = GrainBytes >> LogHeapWordSize;
337 CardsPerRegion = GrainBytes >> CardTableModRefBS::card_shift;
378 assert(capacity() == HeapRegion::GrainBytes, "should be back to normal");
440 assert(capacity() == HeapRegion::GrainBytes, "pre-condition");
H A DheapRegion.hpp351 static size_t GrainBytes; member in class:HeapRegion
356 return (sz + (size_t) GrainBytes - 1) &
360 // It sets up the heap region size (GrainBytes / GrainWords), as
453 assert(capacity() % HeapRegion::GrainBytes == 0, "sanity"); member in class:HeapRegion::HeapRegion

Completed in 30 milliseconds