RFR: 8271003: hs_err improvement: handle CLASSPATH env setting longer than O_BUFLEN
ccheung at openjdk.java.net
Mon Aug 2 17:40:28 UTC 2021
On Mon, 2 Aug 2021 07:02:35 GMT, David Holmes <dholmes at openjdk.org> wrote:
> `outputStream::do_vsnprintf` already states that it uses the buffer "if necessary". In the two highlighted cases there is no need to use the buffer, so I would argue that we should just modify the existing `outputStream::do_vsnprintf` logic to not truncate in these two cases as it is not necessary.
I was thinking of changing `outputStream::do_vsnprintf` to make use of the `handle_simple_format()` as a separate RFE.
More information about the hotspot-runtime-dev