On Wed, 19 Oct 2022 20:25:32 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
>> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java line 505: >> >>> 503: >>> 504: minObjAlignmentInBytes = getObjectAlignmentInBytes(); >>> 505: if (minObjAlignmentInBytes < 8 || minObjAlignmentInBytes > 256 || >> >> Is it necessary to restrict it to the 8 -> 256 range. I know this is the >> current hotspot restriction, but if hotspot decided to allow a larger range, >> is there any reason SA wouldn't still work? > > I don't think there is anything specific in SA that prohibits it to follow > what Hotspot is capable of. Are you proposing to drop the range check > altogether? I can do that. Yes. I don't see a need for it. ------------- PR: https://git.openjdk.org/jdk/pull/10762