7085906: Replace the permgen allocated sentinelRef with a self-looped end

Remove the sentinelRef and let the last Reference in a discovered chain point back to itself.

Reviewed-by: ysr, jmasa
This commit is contained in:
Stefan Karlsson 2011-09-01 16:18:17 +02:00
parent a9cd50a1c8
commit 5b6ba4e611
11 changed files with 96 additions and 103 deletions

View file

@ -80,10 +80,6 @@ void MarkFromRootsTask::do_it(GCTaskManager* manager, uint which) {
Universe::oops_do(&mark_and_push_closure);
break;
case reference_processing:
ReferenceProcessor::oops_do(&mark_and_push_closure);
break;
case jni_handles:
JNIHandles::oops_do(&mark_and_push_closure);
break;