JDK-8178053 : Purge usages of -d32/-d64 options in all tests
  • Type: Bug
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2017-04-04
  • Updated: 2017-08-25
  • Resolved: 2017-04-11
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 10
10 b21Fixed
Related Reports
Blocks :  
Description
The launcher options -d32/-d64 were obsolete in jdk8, and were deprecated in the JDK9, see https://bugs.openjdk.java.net/browse/JDK-8168010
these flags must be removed as soon as possible, in all the hotspot
tests and harnesses, as the launcher support will be removed to cause a spurious test failure(s).
Comments
ok, I have create JDK-8178415 to clean up testlibrary.
11-04-2017

[~iignatyev] This bug is ONLY about test changes in the hotspot repos - so testlibrary changes will be handled under another bug along with any other JDK changes, as Kumar indicated. [~ksrini] JPRT is still being used for JDK 10 I will be pushing changes to the co-located tonga tests, as the only test code in hotspot that may use -d64/-d32
11-04-2017

I was not aware jprt is not going to be used for jdk10 <doh> Are you planning on getting the above webrev reviewed and pushed ? Besides what you have already spotted in the JDK there are others, I will take care of these, when I make the launcher changes.
10-04-2017

here is webrev w/ suggested fix for all 3 testlibraries -- http://cr.openjdk.java.net/~iignatyev//8178053/webrev.00/index.html
10-04-2017

testlibary should be also updated not to pass -d64 on 64 bit hosts, i.e. getPlatformSpecificVMArgs should be changed, or even removed.
10-04-2017

I ran "jtreg hotspot/test:hotspot_all", the failures were consistent with and without the change.
06-04-2017