RFR: 8282715: typo compileony in test Test8005033.java [v2]

Xin Liu xliu at openjdk.java.net
Mon Mar 7 23:10:38 UTC 2022


> This patch doesn't change the testing functionality. It was compiled before. HotSpot failed to handle compiler directive 'compileony'. As a result, it has to compile all methods.  
> 
> Here is the warning message
> 
> CompileCommand: An error occurred during parsing
> Error: Unrecognized option 'compileony'
> Line: 'compileony,compiler.codegen.Test8005033::testBitCount'
> 
> Usage: '-XX:CompileCommand=<option>,<method pattern>' - to set boolean option to true
> Usage: '-XX:CompileCommand=<option>,<method pattern>,<value>'
> Use: '-XX:CompileCommand=help' for more information and to list all option.
> 
> After correcting the typo, hotspot only compiles the method it is supposed to test. Test time of fastdebug build reduces from 16.778s to 0.226s.

Xin Liu has updated the pull request incrementally with one additional commit since the last revision:

  avoid changing the copyright header of SAP.

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7718/files
  - new: https://git.openjdk.java.net/jdk/pull/7718/files/0babec73..95d20e4e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7718&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7718&range=00-01

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7718.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7718/head:pull/7718

PR: https://git.openjdk.java.net/jdk/pull/7718


More information about the hotspot-compiler-dev mailing list