MCPcopy Index your code
hub / github.com/java-native-access/jna / is64Bit

Method is64Bit

src/com/sun/jna/Platform.java:194–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192 return true;
193 }
194 public static final boolean is64Bit() {
195 String model = System.getProperty("sun.arch.data.model",
196 System.getProperty("com.ibm.vm.bitmode"));
197 if (model != null) {
198 return "64".equals(model);
199 }
200 if ("x86-64".equals(ARCH)
201 || "ia64".equals(ARCH)
202 || "ppc64".equals(ARCH) || "ppc64le".equals(ARCH)
203 || "sparcv9".equals(ARCH)
204 || "mips64".equals(ARCH) || "mips64el".equals(ARCH)
205 || "loongarch64".equals(ARCH)
206 || "amd64".equals(ARCH)
207 || "aarch64".equals(ARCH)) {
208 return true;
209 }
210 return Native.POINTER_SIZE == 8;
211 }
212
213 public static final boolean isIntel() {
214 if (ARCH.startsWith("x86")) {

Callers 13

subclassProcMethod · 0.95
testVMInfoMethod · 0.95
ShellAPIInterface · 0.95
CallbacksTestClass · 0.95
WebStartTestClass · 0.95
runTestUnderWebStartMethod · 0.95
findJWSMethod · 0.95
mainMethod · 0.95
FFITypeMethod · 0.95

Calls 2

getPropertyMethod · 0.65
equalsMethod · 0.45

Tested by 8

subclassProcMethod · 0.76
testVMInfoMethod · 0.76
runTestUnderWebStartMethod · 0.76
findJWSMethod · 0.76
mainMethod · 0.76