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

vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine fails due to a) MT-unsafe modification of inline cache

XMLWordPrintable

    • b18
    • x86_64
    • linux, windows

      The following test failure was spotted in the JDK13 CI:

      vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.java

      Here's a snippet of the log file:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (open/src/hotspot/cpu/x86/compiledIC_x86.cpp:166), pid=25415, tid=25557
      # assert(old_method == __null || old_method == callee() || !old_method->method_holder()->is_loader_alive()) failed: a) MT-unsafe modification of inline cache
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-ea+0-1311)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-ea+0-1311, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x9e16a0][thread 25565 also had an error]
        CompiledDirectStaticCall::set_to_interpreted(methodHandle const&, unsigned char*)+0xd0
      #
      # Core dump will be written. Default location: /scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S285/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52db6808-5cf9-4822-96a9-e1bebdb5dd13/runs/02b4b70d-3621-4c81-9560-4c8c96ce62e7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/scratch/3/core.25415
      #
      # An error report file with more information is saved as:
      # /scratch/opt/mach5/mesos/work_dir/slaves/df27b84d-b5c1-4760-9e48-df95fd33274c-S285/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/52db6808-5cf9-4822-96a9-e1bebdb5dd13/runs/02b4b70d-3621-4c81-9560-4c8c96ce62e7/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/scratch/3/hs_err_pid25415.log
      Compiled method (c1) 18713 1966 ! 2 jdk.internal.reflect.GeneratedMethodAccessor1068::invoke (270 bytes)
       total in heap [0x00007f4c89232590,0x00007f4c892354c8] = 12088
       relocation [0x00007f4c89232700,0x00007f4c89232a18] = 792
       main code [0x00007f4c89232a20,0x00007f4c89234340] = 6432
       stub code [0x00007f4c89234340,0x00007f4c89234470] = 304
       oops [0x00007f4c89234470,0x00007f4c89234478] = 8
       metadata [0x00007f4c89234478,0x00007f4c892344b8] = 64
       scopes data [0x00007f4c892344b8,0x00007f4c892348a0] = 1000
       scopes pcs [0x00007f4c892348a0,0x00007f4c892350a0] = 2048
       dependencies [0x00007f4c892350a0,0x00007f4c892350b8] = 24
       handler table [0x00007f4c892350b8,0x00007f4c89235460] = 936
       nul chk table [0x00007f4c89235460,0x00007f4c892354c8] = 104
      AHE@0x00007f4ca0a7d180: 0x7eab0000 i2c: 0x00007f4c88cd4960 c2i: 0x00007f4c88cd4ab2 c2iUV: 0x00007f4c88cd4a75
      Compiled method (c1) 18714 1966 ! 2 jdk.internal.reflect.GeneratedMethodAccessor1068::invoke (270 bytes)
       total in heap [0x00007f4c89232590,0x00007f4c892354c8] = 12088
       relocation [0x00007f4c89232700,0x00007f4c89232a18] = 792
       main code [0x00007f4c89232a20,0x00007f4c89234340] = 6432
       stub code [0x00007f4c89234340,0x00007f4c89234470] = 304
       oops [0x00007f4c89234470,0x00007f4c89234478] = 8
       metadata [0x00007f4c89234478,0x00007f4c892344b8] = 64
       scopes data [0x00007f4c892344b8,0x00007f4c892348a0] = 1000
       scopes pcs [0x00007f4c892348a0,0x00007f4c892350a0] = 2048
       dependencies [0x00007f4c892350a0,0x00007f4c892350b8] = 24
       handler table [0x00007f4c892350b8,0x00007f4c89235460] = 936
       nul chk table [0x00007f4c89235460,0x00007f4c892354c8] = 104
      Compiled method (c1) 18720 1966 ! 2 jdk.internal.reflect.GeneratedMethodAccessor1068::invoke (270 bytes)
       total in heap [0x00007f4c89232590,0x00007f4c892354c8] = 12088
       relocation [0x00007f4c89232700,0x00007f4c89232a18] = 792
       main code [0x00007f4c89232a20,0x00007f4c89234340] = 6432
       stub code [0x00007f4c89234340,0x00007f4c89234470] = 304
       oops [0x00007f4c89234470,0x00007f4c89234478] = 8
       metadata [0x00007f4c89234478,0x00007f4c892344b8] = 64
       scopes data [0x00007f4c892344b8,0x00007f4c892348a0] = 1000
       scopes pcs [0x00007f4c892348a0,0x00007f4c892350a0] = 2048
       dependencies [0x00007f4c892350a0,0x00007f4c892350b8] = 24
       handler table [0x00007f4c892350b8,0x00007f4c89235460] = 936
       nul chk table [0x00007f4c89235460,0x00007f4c892354c8] = 104

            coleenp Coleen Phillimore
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: