mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8034761: Remove the do_code_roots parameter from process_strong_roots
Reviewed-by: tschatzl, mgerdin, jmasa
This commit is contained in:
parent
05e4dd3c74
commit
2a866afcdb
14 changed files with 36 additions and 90 deletions
|
@ -238,14 +238,11 @@ public:
|
|||
void process_strong_roots(bool activate_scope,
|
||||
ScanningOption so,
|
||||
OopClosure* roots,
|
||||
CodeBlobClosure* code_roots,
|
||||
KlassClosure* klass_closure);
|
||||
|
||||
// Apply "blk" to all the weak roots of the system. These include
|
||||
// JNI weak roots, the code cache, system dictionary, symbol table,
|
||||
// string table.
|
||||
void process_weak_roots(OopClosure* root_closure,
|
||||
CodeBlobClosure* code_roots);
|
||||
// Apply "root_closure" to all the weak roots of the system.
|
||||
// These include JNI weak roots and string table.
|
||||
void process_weak_roots(OopClosure* root_closure);
|
||||
|
||||
// The functions below are helper functions that a subclass of
|
||||
// "SharedHeap" can use in the implementation of its virtual
|
||||
|
@ -275,4 +272,8 @@ public:
|
|||
size_t capacity);
|
||||
};
|
||||
|
||||
inline SharedHeap::ScanningOption operator|(SharedHeap::ScanningOption so0, SharedHeap::ScanningOption so1) {
|
||||
return static_cast<SharedHeap::ScanningOption>(static_cast<int>(so0) | static_cast<int>(so1));
|
||||
}
|
||||
|
||||
#endif // SHARE_VM_MEMORY_SHAREDHEAP_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue