Mercurial > hg > graal-compiler
diff src/share/vm/runtime/handles.cpp @ 13010:bd3237e0e18d
8026328: Setting a breakpoint on invokedynamic crashes the JVM
Reviewed-by: jrose, roland
author | twisti |
---|---|
date | Thu, 24 Oct 2013 16:23:07 -0700 |
parents | 9758d9f36299 |
children | 78bbf4d43a14 |
line wrap: on
line diff
--- a/src/share/vm/runtime/handles.cpp Wed Oct 23 19:22:28 2013 +0000 +++ b/src/share/vm/runtime/handles.cpp Thu Oct 24 16:23:07 2013 -0700 @@ -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); }