RFR: 8150738: [JVMCI] runtime/CommandLine/TraceExceptionsTest.java fails with: java.lang.RuntimeException: '<a 'java/lang/ClassNotFoundException': NoClassFound>' missing from stdout/stderr
Christian Thalinger
christian.thalinger at oracle.com
Fri Feb 26 21:07:19 UTC 2016
Thanks, Coleen.
> On Feb 26, 2016, at 10:09 AM, Coleen Phillimore <coleen.phillimore at oracle.com> wrote:
>
> Looks good!
> Coleen
>
> On 2/26/16 2:11 PM, Christian Thalinger wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8150738
>>
>> JDK-8144953 missed changing the exception logging code in JVMCI.
>>
>> diff -r 1e4d74c1b3d0 src/share/vm/jvmci/jvmciRuntime.cpp
>> --- a/src/share/vm/jvmci/jvmciRuntime.cpp Wed Feb 24 09:22:45 2016 -0800
>> +++ b/src/share/vm/jvmci/jvmciRuntime.cpp Fri Feb 26 09:08:28 2016 -1000
>> @@ -293,13 +293,11 @@ JRT_ENTRY_NO_ASYNC(static address, excep
>> // tracing
>> if (log_is_enabled(Info, exceptions)) {
>> ResourceMark rm;
>> - log_info(exceptions)("Exception <%s> (" INTPTR_FORMAT ") thrown in"
>> - " compiled method <%s> at PC " INTPTR_FORMAT
>> - " for thread " INTPTR_FORMAT,
>> - exception->print_value_string(),
>> - p2i((address)exception()),
>> - nm->method()->print_value_string(), p2i(pc),
>> - p2i(thread));
>> + stringStream tempst;
>> + tempst.print("compiled method <%s>\n"
>> + " at PC" INTPTR_FORMAT " for thread " INTPTR_FORMAT,
>> + nm->method()->print_value_string(), p2i(pc), p2i(thread));
>> + Exceptions::log_exception(exception, tempst);
>> }
>> // for AbortVMOnException flag
>> NOT_PRODUCT(Exceptions::debug_check_abort(exception));
>>
>
More information about the hotspot-compiler-dev
mailing list