We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5fe2c1 commit c85c9adCopy full SHA for c85c9ad
src/jdk.jfr/share/classes/jdk/jfr/internal/StringPool.java
@@ -49,7 +49,7 @@ private static boolean getCurrentEpoch() {
49
}
50
private static class SimpleStringIdPool {
51
/* string id index */
52
- private final AtomicLong sidIdx = new AtomicLong();
+ private final AtomicLong sidIdx = new AtomicLong(1);
53
/* epoch of cached strings */
54
private boolean poolEpoch;
55
/* the cache */
0 commit comments