RFR: 8274986: max code printed in hs-err logs should be configurable [v5]
Thomas Stuefe
stuefe at openjdk.java.net
Wed Oct 13 08:27:59 UTC 2021
On Wed, 13 Oct 2021 07:46:27 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> Recursive asserts would be caught by secondary error handling and show up as "Error occurred during error reporting" printout. Not ideal, but at least won't endanger the rest of the printing.
>
> Yes but in a production scenario (which is where robust error reporting is critical), the assert is ignored and we end up with potential buffer overflow.
Could be a guarantee then.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5875
More information about the hotspot-dev
mailing list