JDK-8219712 : code_size2 (defined in stub_routines_x86.hpp) is too small on new Skylake CPUs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2019-02-26
  • Updated: 2020-06-01
  • Resolved: 2019-02-28
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 11 JDK 12 JDK 13
11.0.9-oracleFixed 12.0.2Fixed 13 b11Fixed
Related Reports
Relates :  
Relates :  
Description
The VM crashes during a slowdebug build on my Skylake based Windows/x64 machine, because code_size2 (defined in stub_routines_x86.hpp) is too small. This is probably caused by the new stub code for GHASH, which is only enabled on relatively new x86 CPUs.
Linux builds on the same machine work. 
Comments
Fix request (11u) -- will label after testing completed. I would like to downport this for parity with 11.0.9-oracle. Applies clean.
28-05-2020

Fix request approved. For JDK 12 update.
28-02-2019

Fix Request: This fixes a crash in debug/potential memory overwrite in opt, so it should be taken into jdk12u. Patch applies cleanly and fix seems to be low risk.
28-02-2019