Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1MarkSweep.cpp @ 20258:64ac9c55d666
8034764: Use process_strong_roots to adjust the StringTable
Reviewed-by: tschatzl, brutisso
author | stefank |
---|---|
date | Fri, 14 Feb 2014 09:29:56 +0100 |
parents | 7426d8d76305 |
children | 2c6ef90f030a |
comparison
equal
deleted
inserted
replaced
20257:7426d8d76305 | 20258:64ac9c55d666 |
---|---|
305 | 305 |
306 // Need cleared claim bits for the strong roots processing | 306 // Need cleared claim bits for the strong roots processing |
307 ClassLoaderDataGraph::clear_claimed_marks(); | 307 ClassLoaderDataGraph::clear_claimed_marks(); |
308 | 308 |
309 sh->process_strong_roots(true, // activate StrongRootsScope | 309 sh->process_strong_roots(true, // activate StrongRootsScope |
310 SharedHeap::SO_AllClasses | SharedHeap::SO_AllCodeCache, | 310 SharedHeap::SO_AllClasses | SharedHeap::SO_Strings | SharedHeap::SO_AllCodeCache, |
311 &GenMarkSweep::adjust_pointer_closure, | 311 &GenMarkSweep::adjust_pointer_closure, |
312 &GenMarkSweep::adjust_klass_closure); | 312 &GenMarkSweep::adjust_klass_closure); |
313 | 313 |
314 assert(GenMarkSweep::ref_processor() == g1h->ref_processor_stw(), "Sanity"); | 314 assert(GenMarkSweep::ref_processor() == g1h->ref_processor_stw(), "Sanity"); |
315 g1h->ref_processor_stw()->weak_oops_do(&GenMarkSweep::adjust_pointer_closure); | 315 g1h->ref_processor_stw()->weak_oops_do(&GenMarkSweep::adjust_pointer_closure); |