JDK-8369296 : Add fast class init checks in interpreter for resolving ConstantPool entries for static field
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-10-07
  • Updated: 2025-10-21
  • Resolved: 2025-10-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b20Fixed
Related Reports
Blocks :  
Description
VM is missing fast clinit checks in the interpreter when resolving constant pool entries for getstatic and putstatic bytecodes.
It has been implemented in leyden repo for x86-64 and aarch64 with this patch https://github.com/openjdk/leyden/commit/dae99ee7dc3ed813d10cb3ab8e7177a1905b7463
Same can be done in the mailine. It is also a prerequisite for https://bugs.openjdk.org/browse/JDK-8334898

Comments
Changeset: 622a611c Branch: master Author: Ashutosh Mehra <asmehra@openjdk.org> Date: 2025-10-14 18:15:06 +0000 URL: https://git.openjdk.org/jdk/commit/622a611c338ba766bc1a70c95e8241d1bddf6add
14-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27676 Date: 2025-10-07 14:25:47 +0000
07-10-2025