JDK-8228834 : Regression caused by JDK-8214542 not installing complete checkpoint data to candidates
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jfr
  • Affected Version: 13
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-07-30
  • Updated: 2020-04-29
  • Resolved: 2019-08-02
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 11 JDK 13 JDK 14 Other
11.0.6Fixed 13 b33Fixed 14Fixed openjdk8u-jfr-incubatorFixed
Related Reports
Relates :  
Description
http://hg.openjdk.java.net/jdk/jdk13/rev/49102ba8cf14#l17.46

const_cast<ObjectSampler*>(object_sampler)->set_last_resolved(last);

is now called unconditionally (which is too early). 
This means the last install update with type_set information (classes, methods, symbols, etc) will not be installed to the required candidates.

Comments
Fix request (11u): This bug seems to address a regression that was introduced with JDK-8214542. Since JDK-8214542 is about to be backported to 11u, we shall bring in this fix as well. The patch applies cleanly, testing shows no regression in SAP's infrastructure.
02-09-2019

URL: https://hg.openjdk.java.net/jdk/jdk13/rev/446dcfc2a925 User: mgronlun Date: 2019-08-02 08:50:25 +0000
02-08-2019

Fix request approved
01-08-2019

Fix request: Should be fixed otherwise JFR Old Object Sampler will not work correctly. Risk is low (restore functionality to pre 8214542). Testing: jdk_jfr tests, Kitchensink (short) Webrev: http://cr.openjdk.java.net/~mgronlun/8228834/webrev01/ Reviewed-by: egahlin
31-07-2019