JDK-8345237 : 32-bit Zero builds fail with assert(has_klass_gap()) failed: precondition
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-11-29
  • Updated: 2024-11-29
  • Resolved: 2024-11-29
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 24
24 masterFixed
Related Reports
Relates :  
Description
JDK-8305895 started to wrap `oopDesc::set_klass_gap()` calls with `oopDesc::has_klass_gap()`, but missed a spot in Zero. So now 32-bit Zero builds fail like this:

```
=== Output from failing command(s) repeated here ===
* For target buildtools_create_symbols_javac__the.COMPILE_CREATE_SYMBOLS_batch:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/shade/trunks/jdk/src/hotspot/share/oops/oop.inline.hpp:167), pid=1592865, tid=1592897
#  assert(has_klass_gap()) failed: precondition
```
Comments
Changeset: 095e769f Branch: master Author: Aleksey Shipilev <shade@openjdk.org> Date: 2024-11-29 09:55:29 +0000 URL: https://git.openjdk.org/jdk/commit/095e769f47682efe4e34bb46c0da2c5a2e283a7f
29-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22453 Date: 2024-11-29 08:12:02 +0000
29-11-2024