8076289: Move the StrongRootsScope out of SharedHeap

Reviewed-by: stefank, sjohanss, david
This commit is contained in:
Bengt Rutisson 2015-04-02 16:07:27 +02:00
parent c3b72f7f5b
commit 7c5c5d80b7
14 changed files with 132 additions and 158 deletions

View file

@ -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