changeset 22741 | 13fdeb7d7aad |
parent 22551 | 9bf46d16dcc6 |
child 24351 | 61b33cc6d3cf |
--- a/hotspot/src/share/vm/runtime/mutex.cpp Wed Feb 05 15:14:47 2014 -0800 +++ b/hotspot/src/share/vm/runtime/mutex.cpp Wed Feb 05 21:24:29 2014 -0800 @@ -280,16 +280,6 @@ return x & 0x7FFFFFFF ; } -static inline jint MarsagliaXOR (jint * const a) { - jint x = *a ; - if (x == 0) x = UNS(a)|1 ; - x ^= x << 6; - x ^= ((unsigned)x) >> 21; - x ^= x << 7 ; - *a = x ; - return x & 0x7FFFFFFF ; -} - static int Stall (int its) { static volatile jint rv = 1 ; volatile int OnFrame = 0 ;