mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +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
|
@ -288,16 +288,6 @@ class MarkingCodeBlobClosure : public CodeBlobToOopClosure {
|
|||
// Called for each code blob, but at most once per unique blob.
|
||||
|
||||
virtual void do_code_blob(CodeBlob* cb);
|
||||
|
||||
class MarkScope : public StackObj {
|
||||
protected:
|
||||
bool _active;
|
||||
public:
|
||||
MarkScope(bool activate = true);
|
||||
// = { if (active) nmethod::oops_do_marking_prologue(); }
|
||||
~MarkScope();
|
||||
// = { if (active) nmethod::oops_do_marking_epilogue(); }
|
||||
};
|
||||
};
|
||||
|
||||
// MonitorClosure is used for iterating over monitors in the monitors cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue