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

is_aligned(p, alignof(OopT))) assertion fails in Jetty without compressed OOPs

    XMLWordPrintable

Details

    • b07

    Backports

      Description

        Running applications/jetty/Jetty.java on the latest promoted build using -XX:-UseCompressedOops triggers the following assertion failure intermittently (with an approximated frequency of 30%):

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (...src/hotspot/share/oops/stackChunkOop.inline.hpp:265), pid=3597859, tid=3597932
        # assert(is_aligned(p, alignof(OopT))) failed: should be aligned: 0x00007f39dc52d5d4
        #
        # JRE version: Java(TM) SE Runtime Environment (23.0+4) (fastdebug build 23-ea+4-185)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-ea+4-185, mixed mode, sharing, tiered, compressed class ptrs, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xa4535b] unsigned long stackChunkOopDesc::bit_index_for<long>(long*) const [clone .part.0]+0x2b
        #
        (...)
        Stack: [0x00007f388eae9000,0x00007f388ebea000], sp=0x00007f388ebe7c40, free space=1019k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xa4535b] unsigned long stackChunkOopDesc::bit_index_for<long>(long*) const [clone .part.0]+0x2b (stackChunkOop.inline.hpp:265)
        V [libjvm.so+0xa4907a] ThawBase::clear_bitmap_bits(unsigned char*, unsigned char*)+0x6ba (continuationFreezeThaw.cpp:2170)
        V [libjvm.so+0xa556ee] ThawBase::recurse_thaw_compiled_frame(frame const&, frame&, int, bool)+0xebe (continuationFreezeThaw.cpp:2315)
        V [libjvm.so+0xa56fa8] ThawBase::thaw_slow(stackChunkOop, bool)+0x2f8 (continuationFreezeThaw.cpp:2044)
        V [libjvm.so+0xa63781] long* thaw_internal<Config<(oop_kind)1, G1BarrierSet> >(JavaThread*, Continuation::thaw_kind)+0x311 (continuationFreezeThaw.cpp:1828)
        V [libjvm.so+0xa6407b] long* thaw<Config<(oop_kind)1, G1BarrierSet> >(JavaThread*, int)+0x4b (continuationFreezeThaw.cpp:276)
        v ~StubRoutines::Cont thaw return barrier 0x00007f3c4417f6ff

        Attachments

          Issue Links

            Activity

              People

                pchilanomate Patricio Chilano Mateo
                rcastanedalo Roberto Castaneda Lozano
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: