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

[lworld] assert(oopDesc::is_oop(obj)) in compiler/valhalla/inlinetypes/TestUnloadedInlineTypeArray.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-valhalla
    • repo-valhalla
    • hotspot

      After JDK-8282079, compiler/valhalla/inlinetypes/TestUnloadedInlineTypeArray.java started failing when running with -XX:+CheckUnhandledOops

      # Internal Error (src/hotspot/share/runtime/handles.cpp:39), pid=26001, tid=40195
      # assert(oopDesc::is_oop(obj)) failed: not an oop: 0xfffffffffffffff1

      Stack: [0x00007000094e0000,0x00007000095e0000], sp=0x00007000095de970, free space=1018k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.dylib+0x123d5a9] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x6e9
      V [libjvm.dylib+0x123dc2b] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x3b
      V [libjvm.dylib+0x670cdd] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.dylib+0x8c2d91] HandleArea::allocate_handle(oop)+0xd1
      V [libjvm.dylib+0x3c95be] objArrayHandle::objArrayHandle(Thread*, objArrayOop)+0xce
      V [libjvm.dylib+0xeede91] ObjArrayKlass::allocate(int, JavaThread*)+0x2f1
      V [libjvm.dylib+0xf1dd7f] oopFactory::new_valueArray(Klass*, int, JavaThread*)+0x2ef
      V [libjvm.dylib+0xeee13f] ObjArrayKlass::multi_allocate(int, int*, JavaThread*)+0xaf
      V [libjvm.dylib+0xeee363] ObjArrayKlass::multi_allocate(int, int*, JavaThread*)+0x2d3
      V [libjvm.dylib+0x4bafc8] Runtime1::new_multi_array(JavaThread*, Klass*, int, int*)+0x2a8
      v ~RuntimeStub::new_multi_array Runtime1 stub
      J 98 c1 TestUnloadedInlineTypeArray.test10(LMyValue10;)V (30 bytes) @ 0x00000001191e6690 [0x00000001191e6640+0x0000000000000050]
      j TestUnloadedInlineTypeArray.main([Ljava/lang/String;)V+46

      JDK-8282079 generates Preload attribute in the lambda proxies and dynamic proxies.

            fparain Frederic Parain
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: