mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8227766: CheckUnhandledOops is broken in MemAllocator
Save oop created in handle more eagerly, so CheckUnhandledOops doesn't bash it. Reviewed-by: lfoltan, eosterlund
This commit is contained in:
parent
d97475df72
commit
d35c1540e6
6 changed files with 65 additions and 19 deletions
|
@ -342,7 +342,7 @@ oop StringTable::intern(Handle string_or_null_h, const jchar* name, int len, TRA
|
|||
if (found_string != NULL) {
|
||||
return found_string;
|
||||
}
|
||||
return do_intern(string_or_null_h, name, len, hash, CHECK_NULL);
|
||||
return do_intern(string_or_null_h, name, len, hash, THREAD);
|
||||
}
|
||||
|
||||
oop StringTable::do_intern(Handle string_or_null_h, const jchar* name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue