mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8076289: Move the StrongRootsScope out of SharedHeap
Reviewed-by: stefank, sjohanss, david
This commit is contained in:
parent
c3b72f7f5b
commit
7c5c5d80b7
14 changed files with 132 additions and 158 deletions
|
@ -26,7 +26,7 @@
|
|||
#define SHARE_VM_GC_IMPLEMENTATION_G1_ROOTPROCESSOR_HPP
|
||||
|
||||
#include "memory/allocation.hpp"
|
||||
#include "memory/sharedHeap.hpp"
|
||||
#include "memory/strongRootsScope.hpp"
|
||||
#include "runtime/mutex.hpp"
|
||||
|
||||
class CLDClosure;
|
||||
|
@ -46,7 +46,7 @@ class SubTasksDone;
|
|||
class G1RootProcessor : public StackObj {
|
||||
G1CollectedHeap* _g1h;
|
||||
SubTasksDone* _process_strong_tasks;
|
||||
SharedHeap::StrongRootsScope _srs;
|
||||
StrongRootsScope _srs;
|
||||
|
||||
// Used to implement the Thread work barrier.
|
||||
Monitor _lock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue