RFR: 8155824: JDK build should tune down small apps more aggressively
erik.joelsson at oracle.com
Mon May 2 14:01:42 UTC 2016
Looks good to me.
On my machine, the numbers are:
With suggested patch:
On 2016-05-02 15:41, Claes Redestad wrote:
> Hi build-dev!
> I recently discovered that running with -XX:TieredStopAtLevel=1 can
> speed up jmod execution a bit:
> Applying this to the runner itself might be a mouthful, but it seems
> profitable to apply this to JDK
> build itself. The question was raised if we would get benefits
> elsewhere if we apply it to all "small"
> java targets...
> Some experimental results on my machine:
> time make images
> real 2m39.281s
> user 42m15.164s
> sys 3m56.388s
> -XX:TieredStopAtLevel=1 for jmod target only:
> real 2m34.913s
> user 38m18.112s
> sys 3m44.528s
> -XX:TieredStopAtLevel=1 for all small java targets in makefiles:
> real 2m29.490s
> user 35m45.944s
> sys 3m33.428s
> Reports indicate the real time improvement is even better on smaller
> I thus propose this patch:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8155824
More information about the build-dev