RFR: 8345169: Implement JEP XXX: Remove the 32-bit x86 Port
Coleen Phillimore
coleenp at openjdk.org
Sat Jan 11 15:29:48 UTC 2025
On Fri, 10 Jan 2025 20:30:32 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
>> By default all 64-bits x86 CPU (starting from AMD64) supports all instructions up to SSE2. 32-bit x86 CPU may not support SSE2.
>>
>> We can generated sse1 or use FPU instructions in 64-bit VM but we decided not to do that - SSE2 instructions version were much easier to use. We purged all uses of FPU in JDK 15: [JDK-7175279](https://bugs.openjdk.org/browse/JDK-7175279) by using SSE set of instructions because we did not want to mess (save/restore state) with FPU anymore in 64-bit VM.
>
> I think there are several places in 64-bit VM where we assume SSE2 instructions are always available.
> So if you set `UseSSE=1 or = 0` in debugger VM may crash.
Having some kind of pre-JEP patch for this this might be helpful so that we don't drill down on this rather than the whole patch. Maybe the JEP patch could simply be what @iwanowww suggests. Then have a post-JEP patch to remove everything else. Sort of like what we did with Security Manager.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22567#discussion_r1912067239
More information about the shenandoah-dev
mailing list