Skip to content
Browse files
8255992: JFR EventWriter does not use first string from StringPool wi…
…th id 0

Backport-of: c85c9ad1f1b1b7aa358c587b654a2030927a65a8
  • Loading branch information
Ekaterina Vergizova committed Jun 4, 2021
1 parent 92f434e commit f77ca300bb5c6c45de6b27a63d9cb2da37d70c2b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -49,7 +49,7 @@ private static boolean getCurrentEpoch() {
private static class SimpleStringIdPool {
/* string id index */
private final AtomicLong sidIdx = new AtomicLong();
private final AtomicLong sidIdx = new AtomicLong(1);
/* epoch of cached strings */
private boolean poolEpoch;
/* the cache */

1 comment on commit f77ca30

Copy link

@openjdk-notifier openjdk-notifier bot commented on f77ca30 Jun 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.