mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: jrose, roland
This commit is contained in:
parent
fedbc5721f
commit
9620913796
18 changed files with 143 additions and 129 deletions
|
@ -45,7 +45,7 @@
|
|||
oop* HandleArea::allocate_handle(oop obj) {
|
||||
assert(_handle_mark_nesting > 1, "memory leak: allocating handle outside HandleMark");
|
||||
assert(_no_handle_mark_nesting == 0, "allocating handle inside NoHandleMark");
|
||||
assert(obj->is_oop(), "sanity check");
|
||||
assert(obj->is_oop(), err_msg("not an oop: " INTPTR_FORMAT, (intptr_t*) obj));
|
||||
return real_allocate_handle(obj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue