Integrated: 8256828: ostream::print_cr() truncates buffer in copy-through case

David Holmes dholmes at openjdk.org
Thu Jun 6 00:19:01 UTC 2024


On Sun, 2 Jun 2024 22:05:40 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Clarifies the behaviour of this function in regards to truncation when adding a CR. Ensures a truncation warning is always issued.
> 
> Adds unit testing for the specialized cases.
> 
> See JBS for discussion of other suggestions.
> 
> Testing: - tiers 1-4
> 
> Thanks

This pull request has now been integrated.

Changeset: ca939075
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ca9390755bc652251bdcfd9ec2a583680a63fddf
Stats:     319 lines in 3 files changed: 300 ins; 2 del; 17 mod

8256828: ostream::print_cr() truncates buffer in copy-through case

Reviewed-by: stuefe, matsaave

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

PR: https://git.openjdk.org/jdk/pull/19512


More information about the hotspot-dev mailing list