RFR: 8037914: Add JFR event for string deduplication [v6]
Francesco Andreuzzi
fandreuzzi at openjdk.org
Mon Nov 17 13:11:32 UTC 2025
On Thu, 6 Nov 2025 01:59:41 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:
>> In this PR I introduce a new JFR event: `jdk.StringDeduplication`
>>
>> The new event is emitted every time a deduplication cycle happens.
>>
>> Passes tier1 and tier2 (fastdebug).
>
> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
>
> rename. start/end time
Makes sense, thanks. I applied all your feedback in fc47a64e39712024c55542439bd775497a6d70ed.
> An argument can be made that the phases should be separate events, similar to CompilerPhase and GCPausePhase, where you have a name for each phase (String Processing, Table Resize and Table Cleanup), but it may be over-engineering if we don't believe these phases will change in the future?
Yeah I think there's little chance for changes there, I'd keep it as it is.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28015#issuecomment-3541742817
More information about the hotspot-jfr-dev
mailing list