8184271: Time related C1 intrinsics produce inconsistent results when floating around

C1 intrinsics for System.nanoTime(), System.currentTimeMillis() and JVM.counterTime() should be pinned.

Reviewed-by: kvn, vlivanov
This commit is contained in:
Tobias Hartmann 2017-07-14 11:55:58 +02:00
parent 0a8e98f6c4
commit 9098aa9a2e
4 changed files with 85 additions and 1 deletions

View file

@ -1632,6 +1632,7 @@ public:
static bool preserves_state(vmIntrinsics::ID id);
static bool can_trap(vmIntrinsics::ID id);
static bool should_be_pinned(vmIntrinsics::ID id);
// (2) Information needed by the C2 compiler.