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