Integrated: 8271003: hs_err improvement: handle CLASSPATH env setting longer than O_BUFLEN
Calvin Cheung
ccheung at openjdk.java.net
Wed Aug 4 01:41:42 UTC 2021
On Fri, 30 Jul 2021 18:17:54 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Please review this small enhancement for addressing the problem of the CLASSPATH env variable setting being truncated in a hs err log.
>
> For printing a char string, it doesn't need to go through `do_vsnprintf()` which does the truncation based on the input buffer length. The change is local to the code path pertaining to hs err log.
>
> Testing:
>
> - [x] tiers 1, 2 (including the new test)
This pull request has now been integrated.
Changeset: 3435d299
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/3435d299f76ada66e7b7cb42d9f0265cf99a30ca
Stats: 86 lines in 2 files changed: 85 ins; 0 del; 1 mod
8271003: hs_err improvement: handle CLASSPATH env setting longer than O_BUFLEN
Reviewed-by: dholmes, stuefe, iklam, minqi
-------------
PR: https://git.openjdk.java.net/jdk/pull/4947
More information about the hotspot-runtime-dev
mailing list