src/share/vm/runtime/os.cpp

changeset 6305
40353abd7984
parent 5721
179cd89fb279
child 6317
ecf3678d5736
equal deleted inserted replaced
6304:695a6aba51c3 6305:40353abd7984
1079 return; 1079 return;
1080 } 1080 }
1081 1081
1082 } 1082 }
1083 1083
1084 #ifndef PRODUCT
1085 // Check if in metaspace. 1084 // Check if in metaspace.
1086 if (ClassLoaderDataGraph::contains((address)addr)) { 1085 if (ClassLoaderDataGraph::contains((address)addr)) {
1087 // Use addr->print() from the debugger instead (not here) 1086 // Use addr->print() from the debugger instead (not here)
1088 st->print_cr(INTPTR_FORMAT 1087 st->print_cr(INTPTR_FORMAT
1089 " is pointing into metadata", addr); 1088 " is pointing into metadata", addr);
1090 return; 1089 return;
1091 } 1090 }
1092 #endif
1093 1091
1094 // Try an OS specific find 1092 // Try an OS specific find
1095 if (os::find(addr, st)) { 1093 if (os::find(addr, st)) {
1096 return; 1094 return;
1097 } 1095 }

mercurial