8225582: Shenandoah: Enable concurrent evacuation of JNIHandles

Reviewed-by: rkennke, shade
This commit is contained in:
Zhengyu Gu 2019-06-19 08:52:15 -04:00
parent b870874d22
commit fe66fd327f
11 changed files with 207 additions and 38 deletions

View file

@ -377,6 +377,9 @@ void ShenandoahControlThread::service_concurrent_normal_cycle(GCCause::Cause cau
// Complete marking under STW, and start evacuation
heap->vmop_entry_final_mark();
// Evacuate concurrent roots
heap->entry_roots();
// Final mark might have reclaimed some immediate garbage, kick cleanup to reclaim
// the space. This would be the last action if there is nothing to evacuate.
heap->entry_cleanup();