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

[lworld] serviceability/jvmti/HeapMonitor/MyPackage/* tests fail with ZGC

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      Reproduces with -Xint
      # Internal Error (/oracle/valhalla1/open/src/hotspot/share/runtime/handles.cpp:38), pid=13057, tid=13092
      # assert(oopDesc::is_oop(obj)) failed: not an oop: 0x000013ffff629000

      Stack: [0x00007f6e446e7000,0x00007f6e447e8000], sp=0x00007f6e447e5ea0, free space=1019k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xd78427] HandleArea::allocate_handle(oop)+0x117
      V [libjvm.so+0x1340ae5] MemAllocator::Allocation::notify_allocation_jvmti_sampler()+0x145
      V [libjvm.so+0x1343229] MemAllocator::allocate() const+0x289
      V [libjvm.so+0x193a68a] ZCollectedHeap::array_allocate(Klass*, int, int, bool, Thread*)+0x3a
      V [libjvm.so+0xe0d654] InstanceKlass::allocate_objArray(int, int, Thread*)+0x7f4
      V [libjvm.so+0x147399d] oopFactory::new_objArray(Klass*, int, Thread*)+0x17d
      V [libjvm.so+0x7eff64] Runtime1::new_object_array(JavaThread*, Klass*, int)+0x144
      v ~RuntimeStub::new_object_array Runtime1 stub
      J 480 c1 java.util.Arrays.copyOf([Ljava/lang/Object;ILjava/lang/Class;)[Ljava/lang/Object; java.base (40 bytes) @ 0x00007f705d6514b1 [0x00007f705d650e80+0x0000000000000631]
      J 484 c1 java.util.ArrayList.grow(I)[Ljava/lang/Object; java.base (60 bytes) @ 0x00007f705d652b7c [0x00007f705d652660+0x000000000000051c]
      J 483 c2 MyPackage.Allocator.helper()V (44 bytes) @ 0x00007f7064b146e4 [0x00007f7064b14520+0x00000000000001c4]
      J 485 c1 MyPackage.Allocator.recursiveWrapper(I)V (17 bytes) @ 0x00007f705d653664 [0x00007f705d653500+0x0000000000000164]
      J 485 c1 MyPackage.Allocator.recursiveWrapper(I)V (17 bytes) @ 0x00007f705d65363c [0x00007f705d653500+0x000000000000013c]
      j MyPackage.Allocator.run()V+48
      j java.lang.Thread.run()V+11 java.base
      v ~StubRoutines::call_stub
      V [libjvm.so+0xe5ed0c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x73c
      V [libjvm.so+0xe5a9ba] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x3ea
      V [libjvm.so+0xfa9bde] thread_entry(JavaThread*, Thread*)+0x12e
      V [libjvm.so+0x17a9256] JavaThread::thread_main_inner()+0x206
      V [libjvm.so+0x17ae696] Thread::call_run()+0xf6
      V [libjvm.so+0x149d55e] thread_native_entry(Thread*)+0x10e

        Attachments

          Activity

            People

            • Assignee:
              dsimms David Simms
              Reporter:
              thartmann Tobias Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: