Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8370871

[s390x] consistently update top_frame_sp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • None
    • hotspot
    • 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.

            amitkumar Amit Kumar
            amitkumar Amit Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: