hotspot/src/share/vm/prims/jvm.cpp
changeset 28956 998d9d0b33a4
parent 28948 0efe6d90f20c
child 29083 5e7bce2712ac
equal deleted inserted replaced
28955:c90fb9fd47bd 28956:998d9d0b33a4
   301 
   301 
   302 // The function below is actually exposed by sun.misc.VM and not
   302 // The function below is actually exposed by sun.misc.VM and not
   303 // java.lang.System, but we choose to keep it here so that it stays next
   303 // java.lang.System, but we choose to keep it here so that it stays next
   304 // to JVM_CurrentTimeMillis and JVM_NanoTime
   304 // to JVM_CurrentTimeMillis and JVM_NanoTime
   305 
   305 
   306 const jlong MAX_DIFF_SECS = 0x0100000000LL; //  2^32
   306 const jlong MAX_DIFF_SECS = CONST64(0x0100000000); //  2^32
   307 const jlong MIN_DIFF_SECS = -MAX_DIFF_SECS; // -2^32
   307 const jlong MIN_DIFF_SECS = -MAX_DIFF_SECS; // -2^32
   308 
   308 
   309 JVM_LEAF(jlong, JVM_GetNanoTimeAdjustment(JNIEnv *env, jclass ignored, jlong offset_secs))
   309 JVM_LEAF(jlong, JVM_GetNanoTimeAdjustment(JNIEnv *env, jclass ignored, jlong offset_secs))
   310   JVMWrapper("JVM_GetNanoTimeAdjustment");
   310   JVMWrapper("JVM_GetNanoTimeAdjustment");
   311   jlong seconds;
   311   jlong seconds;