mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
Merge
This commit is contained in:
commit
65ae405a5b
62 changed files with 736 additions and 465 deletions
|
@ -65,6 +65,7 @@ private:
|
|||
bool _can_read_all_unnamed;
|
||||
bool _has_default_read_edges; // JVMTI redefine/retransform support
|
||||
bool _must_walk_reads; // walk module's reads list at GC safepoints to purge out dead modules
|
||||
bool _is_patched; // whether the module is patched via --patch-module
|
||||
TRACE_DEFINE_TRACE_ID_FIELD;
|
||||
enum {MODULE_READS_SIZE = 101}; // Initial size of list of modules that the module can read.
|
||||
|
||||
|
@ -79,6 +80,7 @@ public:
|
|||
_can_read_all_unnamed = false;
|
||||
_has_default_read_edges = false;
|
||||
_must_walk_reads = false;
|
||||
_is_patched = false;
|
||||
}
|
||||
|
||||
Symbol* name() const { return literal(); }
|
||||
|
@ -133,6 +135,13 @@ public:
|
|||
return prev;
|
||||
}
|
||||
|
||||
void set_is_patched() {
|
||||
_is_patched = true;
|
||||
}
|
||||
bool is_patched() {
|
||||
return _is_patched;
|
||||
}
|
||||
|
||||
ModuleEntry* next() const {
|
||||
return (ModuleEntry*)HashtableEntry<Symbol*, mtModule>::next();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue