RFR: 8058176: [mlvm] tests should not allow code cache exhaustion [v3]
Evgeny Nikitin
enikitin at openjdk.java.net
Tue Feb 16 19:19:59 UTC 2021
> Another approach to the JDK-8058176 and #2440 - never allowing the tests hit CodeCache limits. The most significant consumer is the MH graph builder (the MHTransformationGen), whose consumption is now controlled. List of changes:
>
> * Code cache size getters are added to WhiteBox;
> * MH sequences are now built with remaining Code cache size in mind (always let 2M clearance);
> * Dependencies on WhiteBox added for all affected tests;
> * The test cases in question un-problemlisted.
>
> Testing: the whole vmTestbase/vm/mlvm/ in win-lin-mac x86.
Evgeny Nikitin has updated the pull request incrementally with two additional commits since the last revision:
- Fix 'cycles to build' error output
- Add support for segmented CodeCache
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2523/files
- new: https://git.openjdk.java.net/jdk/pull/2523/files/71af7185..763d94b8
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2523&range=02
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2523&range=01-02
Stats: 31 lines in 1 file changed: 23 ins; 1 del; 7 mod
Patch: https://git.openjdk.java.net/jdk/pull/2523.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2523/head:pull/2523
PR: https://git.openjdk.java.net/jdk/pull/2523
More information about the hotspot-dev
mailing list