JDK-8371369 : Parallel: Relax precondition of PSOldGen::expand_and_allocate
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-11-05
  • Updated: 2025-11-07
  • Resolved: 2025-11-07
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 masterFixed
Related Reports
Causes :  
Relates :  
Description
After JDK-8370943, the following precondition is too strong.
  assert(SafepointSynchronize::is_at_safepoint(), "precondition");
  assert(Thread::current()->is_VM_thread(), "precondition");

One can check Heap_lock instead.
Comments
Changeset: 167c952b Branch: master Author: Albert Mingkun Yang <ayang@openjdk.org> Date: 2025-11-07 10:48:07 +0000 URL: https://git.openjdk.org/jdk/commit/167c952bb0fefb5acc9782f4f4474d92097c93f8
07-11-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/28162 Date: 2025-11-05 19:29:13 +0000
05-11-2025