RFR: 8283352: [CDS] SharedBaseAddress.java fails on x86_32 [v2]

Jie Fu jiefu at openjdk.java.net
Sat Mar 19 00:43:12 UTC 2022


On Fri, 18 Mar 2022 16:57:57 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> I think it would be better to do this. The code is easier to read and you can minimize the commit delta.
> 
> ```
> main() {
>     test(testTable_32bit);
>     if (is 64 bit vm) {
>        test(testTable_64bit);
>     }
> }
> 
> static void test(String[] testTable) {
>   // original code in main()....
> }
> ```

Good suggestion!
Updated.
Thanks.

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

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


More information about the hotspot-runtime-dev mailing list