RFR: 8037914: Add JFR event for string deduplication

Francesco Andreuzzi fandreuzzi at openjdk.org
Thu Nov 6 01:59:42 UTC 2025


On Wed, 5 Nov 2025 14:15:07 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> > > The elapsed fields, are they the total since the JVM started or from the last round?
> > 
> > 
> > All fields in `EventStringDeduplicationStatistics` contain the diff since the last round:
> 
> Since the event has a duration, I wonder if the event should be called StringDeduplication, similar to Compilation or GarbageCollection? As I understand it, the event represents a round of deduplications. All other events called statistics are instantaneous events.

Yeah this makes sense, thanks. See 090c02bce5ba79cff378bd48de0fc0849f532250

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

PR Comment: https://git.openjdk.org/jdk/pull/28015#issuecomment-3494458707


More information about the hotspot-dev mailing list