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

NPG: keep compiled ic methods from being deallocated in redefine classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs25
    • None
    • hotspot
    • b33


        The test nsk/jvmti/RetransformClasses/retransform001 gets a SEGV because the method in the compiledICHolder is deallocated and not marked in use (on_stack).

        Iteration #7
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007eff6db11ba7, pid=27610, tid=139635234699008
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0-b80) (build 1.8.0-ea-b80)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b32-rt.stomp_0506_1948-fastdebug mixed mode linux-amd64 compressed oops)
        # Problematic frame:
        # V [libjvm.so+0xbabba7] nmethod::do_unloading(BoolObjectClosure*, bool)+0x987
        #


        This test seems to be excluded in the version of ute that I'm running. It also needs to be run with -noverify because the class file is missing stack maps.

              coleenp Coleen Phillimore
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: