JDK-8243618 : compiler/rtm/cli tests can be run w/o WhiteBox
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-26
  • Updated: 2021-02-11
  • Resolved: 2020-04-27
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 15
11.0.11Fixed 15 b21Fixed
Related Reports
Relates :  
Description
JDK-8181124 replaced usages of compiler.testlibrary.rtm.predicate (which depended on WhiteBox API) w/ @requires, so now compiler/rtm/cli don't use WhiteBox API and can be run w/o it and given the actual testing is done the spawned JVMs by tests, the test code can also be run in driver mode. 
Comments
Fix Request (11u) This improves test performance. Patch applies cleanly to 11u, affected tests still pass. tier{1,2,3} (which run some of these tests) pass as well.
04-02-2021

In 11u, this patch saves about 10s out of 330s of user time when running "compiler/rtm/cli" tests. A minor improvement, sure, but interesting one nevertheless.
18-09-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/f66328164a85 User: iignatyev Date: 2020-04-27 16:19:16 +0000
27-04-2020

https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2020-April/037989.html http://cr.openjdk.java.net/~iignatyev/8243618/webrev.00/
26-04-2020