24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 |
26 |
27 #include "memory/metadataFactory.hpp" |
27 #include "memory/metadataFactory.hpp" |
28 #include "memory/metaspaceShared.hpp" |
28 #include "memory/metaspaceShared.hpp" |
|
29 #include "memory/iterator.hpp" |
29 #include "memory/universe.hpp" |
30 #include "memory/universe.hpp" |
30 #include "oops/oop.inline.hpp" |
31 #include "oops/oop.inline.hpp" |
31 |
32 |
32 #include "classfile/symbolTable.hpp" |
33 #include "classfile/symbolTable.hpp" |
33 #include "classfile/classLoaderData.hpp" |
34 #include "classfile/classLoaderData.hpp" |
579 class VM_WhiteBoxOperation : public VM_Operation { |
580 class VM_WhiteBoxOperation : public VM_Operation { |
580 public: |
581 public: |
581 VM_WhiteBoxOperation() { } |
582 VM_WhiteBoxOperation() { } |
582 VMOp_Type type() const { return VMOp_WhiteBoxOperation; } |
583 VMOp_Type type() const { return VMOp_WhiteBoxOperation; } |
583 bool allow_nested_vm_operations() const { return true; } |
584 bool allow_nested_vm_operations() const { return true; } |
584 }; |
|
585 |
|
586 class AlwaysFalseClosure : public BoolObjectClosure { |
|
587 public: |
|
588 bool do_object_b(oop p) { return false; } |
|
589 }; |
585 }; |
590 |
586 |
591 static AlwaysFalseClosure always_false; |
587 static AlwaysFalseClosure always_false; |
592 |
588 |
593 class VM_WhiteBoxCleanMethodData : public VM_WhiteBoxOperation { |
589 class VM_WhiteBoxCleanMethodData : public VM_WhiteBoxOperation { |