RFR: 8283643: [AIX, testbug] MachCodeFramesInErrorFile test fails to find 'Native frames' text [v2]
Martin Doerr
mdoerr at openjdk.java.net
Wed Apr 20 16:08:41 UTC 2022
On Tue, 19 Apr 2022 22:11:04 GMT, Tyler Steele <duke at openjdk.java.net> wrote:
>> test/hotspot/jtreg/runtime/ErrorHandling/MachCodeFramesInErrorFile.java line 189:
>>
>>> 187: }
>>> 188: }
>>> 189: throw new RuntimeException("\"" + marker + "\" line missing in hs_err_pid file:\n");
>>
>> Please explain removal!
>
> OK!
> This was an odd one; I was getting errors that complained about the length of the message in the exception. It looked like 2^16 was the max number of characters that could be included in a RuntimeException. I haven't found the upper limit documented anywhere, but I would get unexpected failures with it included in the message. The text prints to stdout, so I didn't suffer by removing it.
Maybe just print the last line?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8094
More information about the hotspot-runtime-dev
mailing list