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

Taskqueue code fails with assert(bottom_relaxed() == age_top_relaxed()) failed: not empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b24
    • Verification:
      Verified

      Description

      # To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/taskqueue.hpp:246
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error ([...]/workspace/open/src/hotspot/share/gc/shared/taskqueue.hpp:246), pid=90520, tid=43011
      # assert(bottom_relaxed() == age_top_relaxed()) failed: not empty
      #
      # JRE version: Java(TM) SE Runtime Environment (17.0+23) (fastdebug build 17-ea+23-LTS-2060)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 17-ea+23-LTS-2060, mixed mode, sharing, tiered, compressed class ptrs, z gc, bsd-amd64)
      # CreateCoredumpOnCrash turned off, no core file dumped
      #
      # An error report file with more information is saved as:
      # [...]/testoutput/test-support/jck_runtime_vm_jvmti/hs_err_pid90520.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      stack trace from hs_err (no core file available afaict):

      Stack: [0x0000700001488000,0x0000700001588000], sp=0x00007000015870d0, free space=1020k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x10fce3c] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6dc
      V [libjvm.dylib+0x10fd45b] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x5f33bd] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.dylib+0x745f05] non-virtual thunk to GenericTaskQueueSet<OverflowTaskQueue<oop, (MEMFLAGS)5, 131072u>, (MEMFLAGS)5>::assert_empty() const+0x75
      V [libjvm.dylib+0x101ac36] TaskTerminator::~TaskTerminator()+0x56
      V [libjvm.dylib+0x1171cd4] ZHeapIterator::~ZHeapIterator()+0x334
      V [libjvm.dylib+0x11709b1] ZHeap::object_iterate(ObjectClosure*, bool)+0x81
      V [libjvm.dylib+0xba6c1b] VM_HeapIterateOperation::doit()+0x5b
      V [libjvm.dylib+0x11025a2] VM_Operation::evaluate()+0xf2
      V [libjvm.dylib+0x111fd87] VMThread::evaluate_operation(VM_Operation*)+0xe7
      V [libjvm.dylib+0x1120803] VMThread::inner_execute(VM_Operation*)+0x203
      V [libjvm.dylib+0x111fa85] VMThread::loop()+0xa5
      V [libjvm.dylib+0x111f868] VMThread::run()+0xd8
      V [libjvm.dylib+0x105a407] Thread::call_run()+0x177
      V [libjvm.dylib+0xe1e84f] thread_native_entry(Thread*)+0x14f
      C [libsystem_pthread.dylib+0x6109] _pthread_start+0x94
      C [libsystem_pthread.dylib+0x1b8b] thread_start+0xf

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: