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

Intermittent crash in ClassLoadingService::compute_class_size()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b15
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        After pulling latest changes from jdk/jdk I start observing crashes when run with -Xcomp.

        # A fatal error has been detected by the Java Runtime Environment:
        #
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffded239abe, pid=8904, tid=10236
        #
        # JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-05-03-1918347.vladimir.kozlov.jdkjdk)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-05-03-1918347.vladimir.kozlov.jdkjdk, compiled mode, tiered, compressed oops, g1 gc, windows-amd64)
        # Problematic frame:
        # V [jvm.dll+0x469abe] ClassLoadingService::compute_class_size+0x6e
        #

        V [jvm.dll+0x469abe] ClassLoadingService::compute_class_size+0x6e (classloadingservice.cpp:175)
        V [jvm.dll+0x469d7b] ClassLoadingService::notify_class_unloaded+0x3b (classloadingservice.cpp:130)
        V [jvm.dll+0x463b24] ClassLoaderData::classes_do+0x94 (classloaderdata.cpp:339)
        V [jvm.dll+0x46746a] ClassLoaderData::unload+0x3a (classloaderdata.cpp:578)
        V [jvm.dll+0x46483f] ClassLoaderDataGraph::do_unloading+0xef (classloaderdata.cpp:1320)
        V [jvm.dll+0xbebf55] SystemDictionary::do_unloading+0x215 (systemdictionary.cpp:1851)
        V [jvm.dll+0x606774] G1ConcurrentMark::weak_refs_work+0x624 (g1concurrentmark.cpp:1705)
        V [jvm.dll+0x6047e0] G1ConcurrentMark::remark+0x2d0 (g1concurrentmark.cpp:1164)
        V [jvm.dll+0xc816ef] VM_CGC_Operation::doit+0x12f (vm_operations_g1.cpp:211)
        V [jvm.dll+0xc80ebb] VM_Operation::evaluate+0xcb (vm_operations.cpp:69)
        V [jvm.dll+0xc7e4c6] VMThread::evaluate_operation+0xd6 (vmthread.cpp:355)
        V [jvm.dll+0xc7efb4] VMThread::loop+0x524 (vmthread.cpp:498)
        V [jvm.dll+0xc7f88d] VMThread::run+0xfd (vmthread.cpp:271)

        Stefan K. pointed possible candidates for regression: JDK-8200466 and JDK-8202447.
        From the list of changes I pulled when crash started I see 8202447. This will be my first candidate.

          Attachments

          1. hs_err_pid18355.log
            109 kB
            Vladimir Kozlov
          2. hs_err_pid5532.log
            93 kB
            Vladimir Kozlov

            Issue Links

              Activity

                People

                • Assignee:
                  coleenp Coleen Phillimore
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: