Integrated: 8272783: Epsilon: Refactor tests to improve performance
Aleksey Shipilev
shade at openjdk.java.net
Tue Aug 24 10:11:27 UTC 2021
On Fri, 20 Aug 2021 15:31:05 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Epsilon tests run in tier1, and they take considerable time, especially on low-core machines. We can refactor and simplify some of the tests for better performance.
>
> The improvements are:
> - Dropping test heap sizes to 64M..256M, which saves time zeroing/zapping the heap area;
> - Dropping some configurations, notably out-of-box `-Xbatch -Xcomp` (which makes little sense, as C1/C2 paths would be taken by other configs)
>
> Additionally, run configurations were reformatted to avoid long lines.
>
>
> $ make run-test TEST=gc/epsilon
>
> # Before
> real 1m28.297s
> user 9m2.689s
> sys 0m18.370s
>
> # After
> real 1m0.396s
> user 6m27.221s
> sys 0m13.499s
This pull request has now been integrated.
Changeset: 7f80683c
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7f80683cfeee3c069f48d5bce45fa92b2381b518
Stats: 408 lines in 21 files changed: 271 ins; 29 del; 108 mod
8272783: Epsilon: Refactor tests to improve performance
Reviewed-by: tschatzl
-------------
PR: https://git.openjdk.java.net/jdk/pull/5202
More information about the hotspot-gc-dev
mailing list