memory stomping with runtime/valhalla/valuetypes/

Roland Westrelin rwestrel at
Wed May 3 07:49:13 UTC 2017

I see the following crash when running a build of the current valhalla

# A fatal error has been detected by the Java Runtime Environment:
#  SIGSEGV (0xb) at pc=0x00007fe92853bec9, pid=27976, tid=27991
# JRE version: OpenJDK Runtime Environment (9.0) (fastdebug build 9-internal+0-2017-03-22-102420.rwestrel.valhalla)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 9-internal+0-2017-03-22-102420.rwestrel.valhalla, interpreted mode, compressed oops, concurrent mark sweep gc, linux-amd64)
# Problematic frame:
# V  []  verify_memory(void*)+0x99

V  []  VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x15f
V  []  VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x4a
V  []  report_fatal(char const*, int, char const*, ...)+0xee
V  []  verify_memory(void*)+0xfd
V  []  os::free(void*)+0x4e
V  []  ClassLoaderData::~ClassLoaderData()+0xa2
V  []  ClassLoaderDataGraph::purge()+0x6c
V  []  GenCollectedHeap::do_collection(bool, bool, unsigned long, bool, GenCollectedHeap::GenerationType)+0xaac
V  []  GenCollectedHeap::do_full_collection(bool, GenCollectedHeap::GenerationType)+0x3e
V  []  VM_GenCollectFull::doit()+0xc7
V  []  VM_Operation::evaluate()+0xb0
V  []  VMThread::evaluate_operation(VM_Operation*)+0x2e0
V  []  VMThread::loop()+0x4a3
V  []  VMThread::run()+0xb3
V  []  java_start(Thread*)+0xea

That test is only run with -Xint. It fails approximately 1 in 20 runs of
the test.


More information about the valhalla-dev mailing list