mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them. Reviewed-by: mgerdin, sspitsyn, jmasa
This commit is contained in:
parent
3e537df17c
commit
469f290817
10 changed files with 43 additions and 54 deletions
|
@ -1081,7 +1081,6 @@ void os::print_location(outputStream* st, intptr_t x, bool verbose) {
|
|||
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
// Check if in metaspace.
|
||||
if (ClassLoaderDataGraph::contains((address)addr)) {
|
||||
// Use addr->print() from the debugger instead (not here)
|
||||
|
@ -1089,7 +1088,6 @@ void os::print_location(outputStream* st, intptr_t x, bool verbose) {
|
|||
" is pointing into metadata", addr);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Try an OS specific find
|
||||
if (os::find(addr, st)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue