/** * @return The current processor architecture if running inside a Sun JVM. If * no processor architecture could be determined, {@link #UNKNOWN} is * returned and never <code>null</code>. */ @Nonnull static EProcessorArchitecture getCurrentArchitecture () { EProcessorArchitecture ret = s_aInstance; if (ret == null) { // Note: double initialization doesn't matter here ret = forBits (getCurrentArchitectureBits ()); s_aInstance = ret; } return ret; } }