RFR: 8287169: compiler/arguments/TestCompileThresholdScaling.java fails on x86_32 after JDK-8287052

Vladimir Kozlov kvn at openjdk.java.net
Mon May 23 18:51:45 UTC 2022


On Mon, 23 May 2022 18:25:24 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> src/hotspot/share/compiler/compilerDefinitions.cpp line 139:
>> 
>>> 137:     int exp;
>>> 138:     (void) frexp(v, &exp);
>>> 139:     if (exp > LP64_ONLY(63) NOT_LP64(31)) {
>> 
>> How about `(exp > (sizeof(intx)*BitsPerByte-1))`?
>
> `(exp > BitsPerWord-1)` then?

It is not clear how `intx` relates to `BitsPerWord`? I would prefer `sizeof(intx)` in expression.

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

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


More information about the hotspot-compiler-dev mailing list