mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8244946: fatal error: memory leak: allocating without ResourceMark with -XX:+Verbose -Xlog:methodhandles
Fix crash due to a missing ResourceMark when logging methodhandles with Verbose. Reviewed-by: dcubed, dholmes, coleenp
This commit is contained in:
parent
de4b15e52e
commit
9b94b9d1a1
5 changed files with 70 additions and 32 deletions
|
@ -774,6 +774,7 @@ void Klass::print_on(outputStream* st) const {
|
|||
|
||||
#define BULLET " - "
|
||||
|
||||
// Caller needs ResourceMark
|
||||
void Klass::oop_print_on(oop obj, outputStream* st) {
|
||||
// print title
|
||||
st->print_cr("%s ", internal_name());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue