RFR: 8256215: Shenandoah: re-organize saving/restoring machine state in assembler code

Aleksey Shipilev shade at openjdk.java.net
Wed Jan 27 13:11:40 UTC 2021


On Wed, 27 Jan 2021 13:06:04 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Probably, no processor that does not support sse2, but should we always use VM_version::supports_sse(x)? instead of UseSSE(x)

"Hotspot way" seems to be "check for VM_version::supports_sse* in assemblers" + "check for appropriate UseSSE level in machine-specific code before asking assemblers". This is what the patch does. ...or I misunderstand the question.

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

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


More information about the shenandoah-dev mailing list