Skip to content

Commit 83edffa

Browse files
author
Alex Menkov
committed
8309663: test fails "assert(check_alignment(result)) failed: address not aligned: 0x00000008baadbabe"
Reviewed-by: sspitsyn, eosterlund
1 parent 1da82a3 commit 83edffa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/hotspot/share/prims/jvmtiTagMap.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -2320,7 +2320,10 @@ bool StackRefCollector::do_frame(vframe* vf) {
23202320
// Follow oops from compiled nmethod.
23212321
if (jvf->cb() != nullptr && jvf->cb()->is_nmethod()) {
23222322
_blk->set_context(_thread_tag, _tid, _depth, method);
2323-
jvf->cb()->as_nmethod()->oops_do(_blk);
2323+
// Need to apply load barriers for unmounted vthreads.
2324+
nmethod* nm = jvf->cb()->as_nmethod();
2325+
nm->run_nmethod_entry_barrier();
2326+
nm->oops_do(_blk);
23242327
if (_blk->stopped()) {
23252328
return false;
23262329
}

test/hotspot/jtreg/ProblemList-zgc.txt

-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,3 @@ vmTestbase/gc/gctests/MemoryEaterMT/MemoryEaterMT.java 8289582 windows-
4545

4646
vmTestbase/nsk/monitoring/MemoryPoolMBean/isCollectionUsageThresholdExceeded/isexceeded002/TestDescription.java 8298302 generic-all
4747
vmTestbase/nsk/sysdict/vm/stress/chain/chain007/chain007.java 8298991 linux-x64
48-
serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java#default 8309663 linux-x64

0 commit comments

Comments
 (0)