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

[Leyden] ExcludedClasses.java test failed with -Xcomp -XX:TieredStopAtLevel=1 flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-leyden
    • repo-leyden
    • hotspot

      $ make test CONF=fast TEST_OPTS_JAVA_OPTIONS="-Xcomp -XX:TieredStopAtLevel=1" TEST=runtime/cds/appcds/aotCache/ExcludedClasses.java

      # Internal Error (/scratch/kvn/leyden_ioi/open/src/hotspot/share/cds/archiveBuilder.hpp:320), pid=3337134, tid=3337155
      # assert(is_in_buffer_space(obj)) failed: must be

      Current CompileTask:
      C1: 2500 W0.2 Q694.1 2424 A 1 TestApp$Foo::<clinit> (36 bytes)

      Stack: [0x00007f9828016000,0x00007f9828116000], sp=0x00007f9828113750, free space=1013k
      Native frames: (J=compiled Java code, A=AOT compiled, P=AOT preloaded, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x691c9c] AOTCacheAccess::delta_from_base_address(unsigned char*)+0xdc (archiveBuilder.hpp:320)
      V [libjvm.so+0x6bd039] AOTCodeCache::write_klass(Klass*)+0x639 (aotCodeCache.cpp:2478)
      V [libjvm.so+0x6be5c2] AOTCodeCache::write_oop(oop)+0x672 (aotCodeCache.cpp:2583)
      V [libjvm.so+0x6bf3c3] AOTCodeCache::write_oops(nmethod*)+0x93 (aotCodeCache.cpp:2830)
      V [libjvm.so+0x6c36e3] AOTCodeCache::write_nmethod(nmethod*, bool)+0x643 (aotCodeCache.cpp:1734)
      V [libjvm.so+0x6c470b] AOTCodeCache::store_nmethod(nmethod*, AbstractCompiler*, bool)+0x13b (aotCodeCache.cpp:1629)
      V [libjvm.so+0xa4c80a] ciEnv::register_method(ciMethod*, int, CodeOffsets*, int, CodeBuffer*, int, OopMapSet*, Exceptio

      R15=0x0000000036040a68 is a pointer to class:
      TestApp$Foo$ShouldBeExcluded {0x0000000036040a68}
       - instance size: 4
       - klass size: 77
       - access: synchronized
       - flags: rewritten has_nonstatic_fields should_verify_class defined_by_app_loader
       - state: linked
       - name: 'TestApp$Foo$ShouldBeExcluded'
       - super: 'jdk/jfr/Event'
       - sub: 'TestApp$Foo$ShouldBeExcludedChild'

            iklam Ioi Lam
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: