Open qinsoon opened 3 years ago
The bug won't show if we do not use the RustMMTkProbe. Currently I am not able to reproduce this issue for other plans (SemiSpace or GenCopy). It only shows for MarkSweep.
According to the Zulip message here, this bug was also seen on GenCopy.
Hi, I got this error message in the log files when running the running-ng scripts with GenCopy and pmd. The plotty data seems fine. I'm not too sure what it was caused by, but the command line for it was: mkdir -p PLOTTY_WORKAROUND; timedrun; MMTK_PLAN=GenCopy MMTK_MAX_NURSERY=33554432 MMTK_MIN_NURSERY=33554432 /home/claireh/mmtk-openjdk/repos/openjdk/build_no_barrier/linux-x86_64-normal-server-release/jdk/bin/java -XX:MetaspaceSize=500M -XX:+DisableExplicitGC -server -XX:-TieredCompilation -Xcomp -XX:+UseThirdPartyHeap -Djava.library.path=/home/claireh/probes -Dprobes=RustMMTk -Xms12249M -Xmx12249M -cp /usr/share/benchmarks/dacapo/dacapo-evaluation-git-29a657f.jar:/home/claireh/probes:/home/claireh/probes/probes.jar Harness -c probe.DacapoChopinCallback -n 5 -s default pmd
This is possibly fixed by https://github.com/mmtk/mmtk-openjdk/pull/157.
This was first observed in ef24f49dd3979c6914805f7061e21ae29f886c7e when running with MarkSweep along with the RustMMTkProbe:
The bug is transient, it may take a few runs to reproduce it. This appears to be a failed assertion, thus only shows in debug builds. It seems unrelated with finalization (I tried to remove the finalization code, but the bug persisted). Wenyu also observed the bug when he worked on immix (along with RustMMTkProbe). I cannot reproduce the bug with SemiSpace.