Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/heapRegion.hpp @ 4097:dc467e8b2c5e
7112743: G1: Reduce overhead of marking closure during evacuation pauses
Summary: Parallelize the serial code that was used to mark objects reachable from survivor objects in the collection set. Some minor improvments in the timers used to track the freeing of the collection set along with some tweaks to PrintGCDetails.
Reviewed-by: tonyp, brutisso
author | johnc |
---|---|
date | Thu, 17 Nov 2011 12:40:15 -0800 |
parents | 6071e0581859 |
children | 023652e49ac0 |
comparison
equal
deleted
inserted
replaced
4096:00dd86e542eb | 4097:dc467e8b2c5e |
---|---|
365 // throughout the JVM's execution, therefore they should only be set | 365 // throughout the JVM's execution, therefore they should only be set |
366 // up once during initialization time. | 366 // up once during initialization time. |
367 static void setup_heap_region_size(uintx min_heap_size); | 367 static void setup_heap_region_size(uintx min_heap_size); |
368 | 368 |
369 enum ClaimValues { | 369 enum ClaimValues { |
370 InitialClaimValue = 0, | 370 InitialClaimValue = 0, |
371 FinalCountClaimValue = 1, | 371 FinalCountClaimValue = 1, |
372 NoteEndClaimValue = 2, | 372 NoteEndClaimValue = 2, |
373 ScrubRemSetClaimValue = 3, | 373 ScrubRemSetClaimValue = 3, |
374 ParVerifyClaimValue = 4, | 374 ParVerifyClaimValue = 4, |
375 RebuildRSClaimValue = 5 | 375 RebuildRSClaimValue = 5, |
376 CompleteMarkCSetClaimValue = 6 | |
376 }; | 377 }; |
377 | 378 |
378 inline HeapWord* par_allocate_no_bot_updates(size_t word_size) { | 379 inline HeapWord* par_allocate_no_bot_updates(size_t word_size) { |
379 assert(is_young(), "we can only skip BOT updates on young regions"); | 380 assert(is_young(), "we can only skip BOT updates on young regions"); |
380 return ContiguousSpace::par_allocate(word_size); | 381 return ContiguousSpace::par_allocate(word_size); |