RFR 8u backport: 8077608: [TESTBUG] Enable Hotspot jtreg tests to run in agentvm mode
david.holmes at oracle.com
Thu Jun 1 01:33:58 UTC 2017
This looks like an accurate backport of the change.
My only minor concern is if there may be tests in 8u that are no longer
in 9 which may not work with agentvm mode.
What platforms have you tested this on?
On 31/05/2017 11:19 PM, Stuart Monteith wrote:
> Currently the jdk8u codebase fails some JTreg Hotspot tests when
> running in the -agentvm mode. This is because the ProcessTools class
> is not passing the classpath. There are substantial time savings to be
> gained using -agentvm over -othervm.
> Fortunately, there was a fix for jdk9 (8077608) that has not been
> backported to jdk8u. The details are as follows:
> The patch just needed a slight change, to remove the change to the
> file "test/compiler/uncommontrap/TestUnstableIfTrap.java" as that test
> doesn't exist on jdk8u.
> My colleague Ningsheng has kindly hosted the change here:
More information about the hotspot-dev