RFR: 8276711: compiler/codecache/cli tests failing when SegmentedCodeCache used with -Xint [v2]
Coleen Phillimore
coleenp at openjdk.java.net
Wed Mar 2 13:22:01 UTC 2022
On Wed, 2 Mar 2022 02:48:00 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> Yes, code should follow pattern in previous lines:
>>
>> if (SegmentedCodeCache) {
>> if (!FLAG_IS_DEFAULT(SegmentedCodeCache)) {
>> warning("SegmentedCodeCache has no meaningful effect with -Xint");
>> }
>> FLAG_SET_CMDLINE(SegmentedCodeCache, false);
>> }
>
> And you should include it in previous scope which checks `if (Arguments::is_interpreter_only())`
The previous scope checks CompilerConfig::is_interpreter_only() which includes TieredStopAtLevel == 0, so it's not the same there.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7650
More information about the hotspot-dev
mailing list