RFR: 8263640: hs_err improvement: handle class path longer than O_BUFLEN

Ioi Lam iklam at openjdk.java.net
Mon Jun 28 21:04:07 UTC 2021


On Mon, 28 Jun 2021 18:57:58 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this patch for handling the printing of class path with length longer than O_BUFLEN.
> The bug is also reproducible using the `jcmd VM.command_line`. The new test uses `jcmd` to verify this change.
> 
> Testing: 
> - [x] tiers 1,2.

Changes requested by iklam (Reviewer).

src/hotspot/share/runtime/arguments.cpp line 1122:

> 1120:       }
> 1121:       st->cr();
> 1122:     }

Maybe we can use `st->print_raw()` instead?

-------------

PR: https://git.openjdk.java.net/jdk/pull/4616


More information about the hotspot-runtime-dev mailing list