On Thu, 19 Feb 2026 02:29:43 GMT, Chris Plummer <[email protected]> wrote:
> I assume we don't have any test library code that will determine liveness of > objects in the heap dump. I think no. > Could we possibly fix this with a forced GC before the heap dump? Digged a bit deeper here. The test uses `jcmd <pid> GC.heap_dump` and by default it dumps only live object. So my assumption that the object is unreachable was incorrect. JDK-8376135 introduced `null_reset_value instance` (instance with zero fields) and the instance is live, so it's dumped. ------------- PR Comment: https://git.openjdk.org/valhalla/pull/2109#issuecomment-3930638172
