JDK-8346008 : Fix recent NULL usage backsliding in Shenandoah
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-12-11
  • Updated: 2024-12-25
  • Resolved: 2024-12-12
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 25
25 b03Fixed
Related Reports
Relates :  
Relates :  
Description
JDK-8345647 missed a couple:

./share/gc/shenandoah/shenandoahFreeSet.cpp:  // Overwrite with non-zero (non-NULL) values only if necessary for allocation bookkeeping.
./share/gc/shenandoah/shenandoahGenerationalEvacuationTask.cpp:      assert(obj->klass() != nullptr, "klass should not be NULL");

Comments
Changeset: ff85865b Branch: master Author: Sonia Zaldana Calles <szaldana@openjdk.org> Date: 2024-12-12 18:15:18 +0000 URL: https://git.openjdk.org/jdk/commit/ff85865b752b7a2e765e2035d372a4dbb9279fea
12-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22684 Date: 2024-12-11 16:10:06 +0000
11-12-2024