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

Adam Sotona asotona at openjdk.java.net
Fri Jan 22 09:58:57 UTC 2021


On Fri, 22 Jan 2021 09:47:25 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

>> @lgxbslgx OK, I see - it is definitely not normal to build it so long. Now I see from your log it got stuck at download of the reference jdk-bin.zip, which is used as benchmarks subject to compile. It indicates probably some networking obstacles, however the workaround is simple:
>> 
>> 1. download the reference jdk-bin.zip from [https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_windows-x64_bin.zip](https://download.java.net/openjdk/jdk11/ri/openjdk-11+28_windows-x64_bin.zip) manually
>> 2. build benchmarks with property pointing to the local copy, for example: 
>> `mvn package -Djavac.benchmark.openjdk.zip.download.url=file:///<your download location>/openjdk-11+28_windows-x64_bin.zip`
>
> @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.

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

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


More information about the compiler-dev mailing list