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); |