mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 22:50:08 +00:00
Merge
This commit is contained in:
commit
89f719be62
@ -155,6 +155,10 @@ Metadata* AOTCompiledMethod::metadata_at(int index) const {
|
||||
ShouldNotReachHere(); return NULL;
|
||||
}
|
||||
|
||||
void AOTCompiledMethod::do_unloading(bool unloading_occurred) {
|
||||
unload_nmethod_caches(unloading_occurred);
|
||||
}
|
||||
|
||||
bool AOTCompiledMethod::make_not_entrant_helper(int new_state) {
|
||||
// Make sure the method is not flushed in case of a safepoint in code below.
|
||||
methodHandle the_method(method());
|
||||
|
||||
@ -265,6 +265,7 @@ private:
|
||||
#endif
|
||||
}
|
||||
|
||||
virtual void do_unloading(bool unloading_occurred);
|
||||
|
||||
protected:
|
||||
// AOT compiled methods are not flushed
|
||||
|
||||
@ -400,7 +400,7 @@ public:
|
||||
virtual bool is_unloading() = 0;
|
||||
|
||||
bool unload_nmethod_caches(bool class_unloading_occurred);
|
||||
virtual void do_unloading(bool unloading_occurred) { }
|
||||
virtual void do_unloading(bool unloading_occurred) = 0;
|
||||
|
||||
private:
|
||||
PcDesc* find_pc_desc(address pc, bool approximate) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user