RFR: 8037914: Add JFR event for string deduplication

Erik Gahlin egahlin at openjdk.org
Wed Nov 5 14:18:17 UTC 2025


On Tue, 4 Nov 2025 21:32:19 GMT, Francesco Andreuzzi <fandreuzzi 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 deduplication. All other events called statistics are instantaneous events.

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

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


More information about the hotspot-dev mailing list