8280784: VM_Cleanup unnecessarily processes all thread oops
Reviewed-by: eosterlund, shade
This commit is contained in:
parent
973dda5ce0
commit
8a3cca09ba
@ -45,6 +45,10 @@ class VM_Cleanup: public VM_Operation {
|
||||
public:
|
||||
VMOp_Type type() const { return VMOp_Cleanup; }
|
||||
void doit() {};
|
||||
virtual bool skip_thread_oop_barriers() const {
|
||||
// None of the safepoint cleanup tasks read oops in the Java threads.
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
class VM_ClearICs: public VM_Operation {
|
||||
|
Loading…
x
Reference in New Issue
Block a user