Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp @ 20278:2c6ef90f030a
8049421: G1 Class Unloading after completing a concurrent mark cycle
Reviewed-by: tschatzl, ehelin, brutisso, coleenp, roland, iveresov
Contributed-by: stefan.karlsson@oracle.com, mikael.gerdin@oracle.com
author | stefank |
---|---|
date | Mon, 07 Jul 2014 10:12:40 +0200 |
parents | 0982ec23da03 |
children | 7848fc12602b f74dbdd45754 |
comparison
equal
deleted
inserted
replaced
20277:882004b9e7e1 | 20278:2c6ef90f030a |
---|---|
2463 Threads::oops_do(adjust_pointer_closure(), &adjust_from_cld, NULL); | 2463 Threads::oops_do(adjust_pointer_closure(), &adjust_from_cld, NULL); |
2464 ObjectSynchronizer::oops_do(adjust_pointer_closure()); | 2464 ObjectSynchronizer::oops_do(adjust_pointer_closure()); |
2465 FlatProfiler::oops_do(adjust_pointer_closure()); | 2465 FlatProfiler::oops_do(adjust_pointer_closure()); |
2466 Management::oops_do(adjust_pointer_closure()); | 2466 Management::oops_do(adjust_pointer_closure()); |
2467 JvmtiExport::oops_do(adjust_pointer_closure()); | 2467 JvmtiExport::oops_do(adjust_pointer_closure()); |
2468 // SO_AllClasses | |
2469 SystemDictionary::oops_do(adjust_pointer_closure()); | 2468 SystemDictionary::oops_do(adjust_pointer_closure()); |
2470 ClassLoaderDataGraph::oops_do(adjust_pointer_closure(), adjust_klass_closure(), true); | 2469 ClassLoaderDataGraph::oops_do(adjust_pointer_closure(), adjust_klass_closure(), true); |
2471 | 2470 |
2472 // Now adjust pointers in remaining weak roots. (All of which should | 2471 // Now adjust pointers in remaining weak roots. (All of which should |
2473 // have been cleared if they pointed to non-surviving objects.) | 2472 // have been cleared if they pointed to non-surviving objects.) |
2474 // Global (weak) JNI handles | 2473 // Global (weak) JNI handles |
2475 JNIHandles::weak_oops_do(&always_true, adjust_pointer_closure()); | 2474 JNIHandles::weak_oops_do(&always_true, adjust_pointer_closure()); |
2476 | 2475 |
2477 CodeCache::oops_do(adjust_pointer_closure()); | 2476 CodeBlobToOopClosure adjust_from_blobs(adjust_pointer_closure(), CodeBlobToOopClosure::FixRelocations); |
2477 CodeCache::blobs_do(&adjust_from_blobs); | |
2478 StringTable::oops_do(adjust_pointer_closure()); | 2478 StringTable::oops_do(adjust_pointer_closure()); |
2479 ref_processor()->weak_oops_do(adjust_pointer_closure()); | 2479 ref_processor()->weak_oops_do(adjust_pointer_closure()); |
2480 // Roots were visited so references into the young gen in roots | 2480 // Roots were visited so references into the young gen in roots |
2481 // may have been scanned. Process them also. | 2481 // may have been scanned. Process them also. |
2482 // Should the reference processor have a span that excludes | 2482 // Should the reference processor have a span that excludes |