8143408: Crash during InstanceKlass unloading when clearing dependency context

Reviewed-by: kvn
This commit is contained in:
Vladimir Ivanov 2015-11-25 01:17:28 +03:00
parent 2952cd0bde
commit a03d2513aa
3 changed files with 36 additions and 25 deletions

View file

@ -143,6 +143,10 @@ class DependencyContext : public StackObj {
void expunge_stale_entries();
// Unsafe deallocation of nmethodBuckets. Used in IK::release_C_heap_structures
// to clean up the context possibly containing live entries pointing to unloaded nmethods.
void wipe();
#ifndef PRODUCT
void print_dependent_nmethods(bool verbose);
bool is_dependent_nmethod(nmethod* nm);