RFR: 8319376: ParallelGC: Forwarded objects found during heap inspection

Albert Mingkun Yang ayang at openjdk.org
Mon Nov 6 13:39:14 UTC 2023


On Fri, 3 Nov 2023 12:42:46 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> See JBS issue for details.
> 
> Testing:
>  - [x] gc/logging/TestUnifiedLoggingSwitchStress.java -XX:+UseParallelGC
>  - [x] tier1 -XX:+UseParallelGC
>  - [ ] tier2 -XX:+UseParallelGC
>  - [ ] hotspot_gc

> It is not totally clear how we can get a forwarded object in eden in the first place.

This can happen when promotion-failure occurs. Serial and G1 have special code to fix self-forwarded (promotion-fail) objs. Maybe Parallel should do sth similar.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16494#issuecomment-1794843503


More information about the serviceability-dev mailing list