Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/os.cpp @ 14190:ce86c36b8921
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
Summary: Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.
Reviewed-by: mgerdin, sspitsyn, jmasa
author | coleenp |
---|---|
date | Tue, 07 Jan 2014 13:26:56 -0500 |
parents | 179cd89fb279 |
children | d3a3fc905c7e 63a4eb8bcd23 ecf3678d5736 |
line wrap: on
line diff
--- a/src/share/vm/runtime/os.cpp Tue Jan 07 12:32:57 2014 +0100 +++ b/src/share/vm/runtime/os.cpp Tue Jan 07 13:26:56 2014 -0500 @@ -1081,7 +1081,6 @@ } -#ifndef PRODUCT // Check if in metaspace. if (ClassLoaderDataGraph::contains((address)addr)) { // Use addr->print() from the debugger instead (not here) @@ -1089,7 +1088,6 @@ " is pointing into metadata", addr); return; } -#endif // Try an OS specific find if (os::find(addr, st)) {