Projects
Mega:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:DependencyContext-mark_depende...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:DependencyContext-mark_dependent_nmethods-crash-in-Dynamic-cds-mode.patch of Package openjdk-1.8.0
DependencyContext::mark_dependent_nmethods crash in Dynamic cds mode --- hotspot/src/share/vm/oops/instanceKlass.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hotspot/src/share/vm/oops/instanceKlass.cpp b/hotspot/src/share/vm/oops/instanceKlass.cpp index df44e5319..833cf9afe 100644 --- a/hotspot/src/share/vm/oops/instanceKlass.cpp +++ b/hotspot/src/share/vm/oops/instanceKlass.cpp @@ -2462,8 +2462,6 @@ void InstanceKlass::remove_unshareable_info() { constants()->remove_unshareable_info(); - assert(_dep_context == DependencyContext::EMPTY, "dependency context is not shareable"); - for (int i = 0; i < methods()->length(); i++) { Method* m = methods()->at(i); m->remove_unshareable_info(); @@ -2487,6 +2485,7 @@ void InstanceKlass::remove_unshareable_info() { // do array classes also. array_klasses_do(remove_unshareable_in_class); // These are not allocated from metaspace. They are safe to set to NULL. + _dep_context = DependencyContext::EMPTY; _member_names = NULL; _osr_nmethods_head = NULL; _init_thread = NULL; -- 2.22.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2