RFR: 8058176: [mlvm] tests should not allow code cache exhaustion [v7]

Igor Ignatyev iignatyev at openjdk.java.net
Wed Apr 14 17:24:56 UTC 2021


On Wed, 17 Mar 2021 19:02:32 GMT, Evgeny Nikitin <enikitin at openjdk.org> wrote:

>> 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:
> 
>  - Merge branch 'master' into JDK-8058176/public
>  - Move a comment a bit higher
>  - Extract allowances into constants
>  - Add non-nmethods pool to the monitoring
>  - Fix 'cycles to build' error output
>  - Add support for segmented CodeCache
>  - Switch to ManagementBeans approach instead of the WhiteBox one
>  - Un-problemlist the OOME tests
>  - Add CodeCache methods to the WhiteBox
>  - 8058176: [mlvm] tests should not allow code cache exhaustion

hm... I guess no one else wants to share their opinion, so I'll take it as an agreement and /sponsor

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

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


More information about the hotspot-dev mailing list