-
Enhancement
-
Resolution: Unresolved
-
P3
-
None
-
s390x
-
linux
while working on loom port for s390 I ran into this assert: (Please note loom is not yet ported on s390 as of now)
inline void FreezeBase::prepare_freeze_interpreted_top_frame(frame& f) {
// nothing to do
DEBUG_ONLY( intptr_t* lspp = (intptr_t*) &(f.ijava_state()->top_frame_sp); )
assert(*lspp == f.unextended_sp() - f.fp(), "should be " INTPTR_FORMAT " usp:" INTPTR_FORMAT " fp:" INTPTR_FORMAT " diff = %ld", *lspp, p2i(f.unextended_sp()), p2i(f.fp()), f.unextended_sp() - f.fp());
}
I found out that top_frame_sp field of interpreter frame is not consistently updated which is cause for this assert failure.
For this i am considering this be related to JDK-8286300 issue. Please remove if it doesn't make sense.
inline void FreezeBase::prepare_freeze_interpreted_top_frame(frame& f) {
// nothing to do
DEBUG_ONLY( intptr_t* lspp = (intptr_t*) &(f.ijava_state()->top_frame_sp); )
assert(*lspp == f.unextended_sp() - f.fp(), "should be " INTPTR_FORMAT " usp:" INTPTR_FORMAT " fp:" INTPTR_FORMAT " diff = %ld", *lspp, p2i(f.unextended_sp()), p2i(f.fp()), f.unextended_sp() - f.fp());
}
I found out that top_frame_sp field of interpreter frame is not consistently updated which is cause for this assert failure.
For this i am considering this be related to JDK-8286300 issue. Please remove if it doesn't make sense.
- relates to
-
JDK-8286300 Port JEP 425 to S390X
-
- In Progress
-
- links to
-
Review(master)
openjdk/jdk/28042