mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8227653: Add VM Global OopStorage
Replaced conditional JVMCI global storage with VM global storage. Reviewed-by: tschatzl, lfoltan, kvn
This commit is contained in:
parent
1a115f9763
commit
e396e38bb3
27 changed files with 60 additions and 115 deletions
|
@ -2127,7 +2127,6 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,
|
|||
q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::class_loader_data));
|
||||
q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::jvmti));
|
||||
q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::code_cache));
|
||||
JVMCI_ONLY(q->enqueue(new MarkFromRootsTask(MarkFromRootsTask::jvmci));)
|
||||
|
||||
if (active_gc_threads > 1) {
|
||||
for (uint j = 0; j < active_gc_threads; j++) {
|
||||
|
@ -2217,8 +2216,6 @@ void PSParallelCompact::adjust_roots(ParCompactionManager* cm) {
|
|||
CodeCache::blobs_do(&adjust_from_blobs);
|
||||
AOT_ONLY(AOTLoader::oops_do(&oop_closure);)
|
||||
|
||||
JVMCI_ONLY(JVMCI::oops_do(&oop_closure);)
|
||||
|
||||
ref_processor()->weak_oops_do(&oop_closure);
|
||||
// Roots were visited so references into the young gen in roots
|
||||
// may have been scanned. Process them also.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue