Integrated: 8328880: Events::log_exception should limit the size of the logging message
David Holmes
dholmes at openjdk.org
Fri Aug 23 02:38:13 UTC 2024
On Tue, 20 Aug 2024 05:22:40 GMT, David Holmes <dholmes at openjdk.org> wrote:
> This simple enhancement allows for `Exceptions::_throw` to limit the message length printed by `Events::log_exception` in the same way that unified logging is limited. We simply allow a `message_length_limit` variable to be passed down - default value zero which means no limit (i.e. the full `strlen` of the message will be printed).
>
> Testing:
> - tiers 1-3
>
> Thanks
This pull request has now been integrated.
Changeset: ea337098
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ea3370982bfd3da4b200b738dd3b8c16cebb3a34
Stats: 18 lines in 3 files changed: 10 ins; 1 del; 7 mod
8328880: Events::log_exception should limit the size of the logging message
Reviewed-by: shade, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/20638
More information about the hotspot-dev
mailing list