[master] RFR: 8314545: [Lilliput] Revert changes in zRelocate.cpp

Roman Kennke rkennke at openjdk.org
Thu Aug 17 21:22:54 UTC 2023


On Thu, 17 Aug 2023 20:44:11 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> We have a bunch of STS additions in zRelocate.cpp . The guidance that I've got from @fisk  is that those are not needed and may in-fact cause deadlocks. Let's remove those changes and figure out if anything else is needed to deal with ZGC sync with ObjectMonitor deflation.
> 
> Testing:
>  - [ ] hotspot_gc +UCOH
>  - [ ] tier1 +UCOH

Awww, this results in the following crash. This is exactly the symptom of missing sync between ZGC worker and monitor deflation. Moving this PR back to draft until we figured something out.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/rkennke/src/openjdk/lilliput/src/hotspot/share/oops/markWord.inline.hpp:39), pid=19182, tid=19184
#  assert(!CompressedKlassPointers::is_null(narrow_klass())) failed: narrow klass must not be null: 0x0000000000000001
#
# JRE version: OpenJDK Runtime Environment (22.0) (fastdebug build 22-internal-adhoc.rkennke.lilliput)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 22-internal-adhoc.rkennke.lilliput, mixed mode, tiered, compressed class ptrs, z gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x2f6d4f]  markWord::klass() const [clone .part.36]+0x21
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /local/home/rkennke/src/openjdk/lilliput/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_hotspot_gc/scratch/15/hs_err_pid19182.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

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

PR Comment: https://git.openjdk.org/lilliput/pull/105#issuecomment-1682995966


More information about the lilliput-dev mailing list