RFR: 8260053: Optimize Tokens' use of Names [v2]

Adam Sotona asotona at openjdk.java.net
Fri Jan 22 10:47:44 UTC 2021


On Fri, 22 Jan 2021 09:56:23 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> @asotona Thank you for your workaround. I will try it later.
>> 
>> I find the jdk-bin.zip that you provide is about windows. But my local environment is Linux&x64. Does it have any problem? Or the jdk-bin.zip about linux should be downloaded instead?
>
> @lgxbslgx platform of the jdk-bin.zip is not important until it is a zip file containing src.zip bundle with Open JDK 9, 10 or 11 sources used for javac benchmarking. I would suggest to use the above mentioned win distribution as the benchmarks are tested with it and commonly used as reference.

I forgot to add that since Jigsaw enforcement has been applied it is also necessary to add following exports to the benchmark execution command line:
--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED  
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED

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

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


More information about the compiler-dev mailing list