Mercurial > hg > graal-jvmci-8
changeset 23433:e36fd279a207
8139150: ClassVerifier frees exception message while it's still in use
Summary: Remove ResourceMark in StackMapReader::parse_verification_type() to avoid freeing of error message.
Reviewed-by: zmajo, dcubed, hseigel
author | thartmann |
---|---|
date | Fri, 09 Oct 2015 11:28:11 +0200 |
parents | bf95d7ddba60 |
children | 7c72f397718a |
files | src/share/vm/classfile/stackMapTable.cpp |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/classfile/stackMapTable.cpp Mon Oct 12 19:31:16 2015 +0200 +++ b/src/share/vm/classfile/stackMapTable.cpp Fri Oct 09 11:28:11 2015 +0200 @@ -186,7 +186,6 @@ u2 offset = _stream->get_u2(THREAD); if (offset >= _code_length || _code_data[offset] != ClassVerifier::NEW_OFFSET) { - ResourceMark rm(THREAD); _verifier->class_format_error( "StackMapTable format error: bad offset for Uninitialized"); return VerificationType::bogus_type();