JDK-8014024 : NPG: keep compiled ic methods from being deallocated in redefine classes
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-05-07
  • Updated: 2014-06-26
  • Resolved: 2013-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 Other
8Fixed hs25Fixed
Related Reports
Relates :  
Description
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.