Changeset 724d8de


Ignore:
Timestamp:
May 25, 2011 9:35:21 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
150cb303
Parents:
ddcd8cb
Message:

call the 64 bit cpuid, even if we dont use it yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/NativeBigInteger.java

    rddcd8cb r724d8de  
    158158        boolean is64 = "64".equals(System.getProperty("sun.arch.data.model")) ||
    159159                       System.getProperty("os.arch").contains("64");
    160         if (is64)
     160        if (is64) {
     161            // Test the 64 bit libjcpuid, even though we don't use it yet
     162            try {
     163                CPUInfo c = CPUID.getInfo();
     164                _cpuModel = c.getCPUModelString();
     165            } catch (UnknownCPUException e) {
     166                // log?
     167            }
    161168            return JBIGI_OPTIMIZATION_ATHLON64;
     169        }
    162170       
    163171        try {
Note: See TracChangeset for help on using the changeset viewer.