You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current workaround seems to be -Djava.lang.invoke.stringConcat=MH_SB_SIZED that forces to use concat implementation that instrumenter is able to catch.
The text was updated successfully, but these errors were encountered:
Based on findings from bazelbuild/bazel#14890 (comment) looks like some string concatenations are not reported.
makeConcat was introduced in java 9 - see https://openjdk.java.net/jeps/280 and implementation in java 11 in
http://hg.openjdk.java.net/jdk/jdk11/file/jdk-11+28/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java#l1483
Possibly
UNSAFE.allocateUninitializedArray
calls done fromhttp://hg.openjdk.java.net/jdk/jdk11/file/jdk-11+28/src/java.base/share/classes/java/lang/invoke/StringConcatFactory.java#l1633 could be instrumented - but not sure how it will play with JVM machinery.
Current workaround seems to be
-Djava.lang.invoke.stringConcat=MH_SB_SIZED
that forces to use concat implementation that instrumenter is able to catch.The text was updated successfully, but these errors were encountered: