Integrated: 8256256: UL should not use heap allocation for output string

Yumin Qi minqi at openjdk.java.net
Wed Dec 2 16:25:58 UTC 2020


On Tue, 17 Nov 2020 03:04:07 GMT, Yumin Qi <minqi at openjdk.org> wrote:

> Hi, Please review
>   Unified Logging uses 512 bytes buffer on stack for printing out message, above that will allocate heap for extra space needed. This may potentially may cause a circulation when we log the heap allocation and the log message is over 512. The max logging buffer size now is increased to 4096 and above that, output will be truncated.
> 
> Tests: tier1,tier4

This pull request has now been integrated.

Changeset: 0b8c7807
Author:    Yumin Qi <minqi at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/0b8c7807
Stats:     40 lines in 1 file changed: 29 ins; 0 del; 11 mod

8256256: UL should not use heap allocation for output string

Reviewed-by: dholmes, stuefe

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

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


More information about the hotspot-runtime-dev mailing list