From 182039964fd8a9fd16ab7b0ccc9cbcc2cedc144b Mon Sep 17 00:00:00 2001 From: zzz Date: Sun, 21 Feb 2021 11:07:24 -0500 Subject: [PATCH] Util: Assume the OSX M1 is not slow --- core/java/src/net/i2p/util/SystemVersion.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/src/net/i2p/util/SystemVersion.java b/core/java/src/net/i2p/util/SystemVersion.java index e77cd962d..a2552109a 100644 --- a/core/java/src/net/i2p/util/SystemVersion.java +++ b/core/java/src/net/i2p/util/SystemVersion.java @@ -80,7 +80,8 @@ public abstract class SystemVersion { (DAEMON_USER.equals(System.getProperty("user.name")) || (_isGentoo && GENTOO_USER.equals(System.getProperty("user.name")))); _isService = _isLinuxService || _isWindowsService; - _isSlow = _isAndroid || _isApache || _isArm || _isGNU || _isZero || getMaxMemory() < 48*1024*1024L; + // we assume the Apple M1 is not slow, however isSlow() below will still return true until we have a jbigi + _isSlow = _isAndroid || _isApache || (_isArm && !_isMac) || _isGNU || _isZero || getMaxMemory() < 48*1024*1024L; int sdk = 0; if (_isAndroid) {