Package moe.kyokobot.koe.internal.util
Class AesAcceleration
java.lang.Object
moe.kyokobot.koe.internal.util.AesAcceleration
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic BooleanReads the UseAES flag through reflection, so JVMs without the HotSpot management API (OpenJ9, native images, runtimes without the jdk.management module) don't fail to link this class.
-
Method Details
-
isLikelyAccelerated
public static boolean isLikelyAccelerated() -
readHotSpotFlag
Reads the UseAES flag through reflection, so JVMs without the HotSpot management API (OpenJ9, native images, runtimes without the jdk.management module) don't fail to link this class.- Returns:
- the flag, or null if it can't be read
-