[jdk11u-dev] Integrated: 8298129: Let checkpoint event sizes grow beyond u4 limit
Ekaterina Vergizova
evergizova at openjdk.org
Mon Feb 13 11:51:41 UTC 2023
On Mon, 6 Feb 2023 18:05:36 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:
> I'd like to backport JDK-8298129 to 11u.
> It fixes corrupted jfr dumps that can be generated for applications with a large stack trace pool or string pool. Such dumps can not be read by jfr tool or JMC.
>
> 17u patch doesn't apply cleanly, minor modifications required:
> - jfrCheckpointManager.cpp: is_flushpoint and flushpoint_offset were replaced by checkpoint_type and checkpoint_type_offset by JDK-8226511 that is not backported to 11u. Adapted the changes for flushpoint. Additionally nullptr was replaced with NULL since JDK-8246032 is not backported to 11u
> - jfrEncoders.hpp, jfrWriterHost.hpp, jfrWriterHost.inline.hpp: copyright years, minor context difference due to #endif comment, reapplied manually
> - ChunkParser.java: minor context difference for the second hunk since JDK-8226511 is not backported to 11u, reapplied manually
>
> Tested with tier1 and jdk/jfr tests.
This pull request has now been integrated.
Changeset: 816e53ba
Author: Ekaterina Vergizova <evergizova at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/816e53bad5771d29db941bba830476a5a16cbc1f
Stats: 114 lines in 6 files changed: 80 ins; 12 del; 22 mod
8298129: Let checkpoint event sizes grow beyond u4 limit
Reviewed-by: phh
Backport-of: ea108f504ccb63fc9651e804e3bbba1c108dcead
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/1708
More information about the jdk-updates-dev
mailing list