-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 19, 26
-
Component/s: core-libs
-
master
Submitting on behalf of Francesco Nigro:
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Thread.Builder.html#name(java.lang.String,long) enable users to create named Thread(s), but the existing code is passing an integer constant type to a VarHandle on a long field, which is sensitive to its signature type and causing it to not be correctly optimized.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/Thread.Builder.html#name(java.lang.String,long) enable users to create named Thread(s), but the existing code is passing an integer constant type to a VarHandle on a long field, which is sensitive to its signature type and causing it to not be correctly optimized.
- relates to
-
JDK-8160821 VarHandle accesses are penalized when argument conversion is required
-
- Open
-
- links to
-
Commit(master)
openjdk/jdk/1226873a
-
Review(master)
openjdk/jdk/28475