--- a/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il Mon Dec 26 20:36:01 2011 -0500
+++ b/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il Sun Jan 01 11:17:59 2012 -0500
@@ -30,12 +30,19 @@
movq %fs:0, %rax
.end
- // Get the frame pointer from current frame.
+ // Get current fp
.inline _get_current_fp,0
.volatile
movq %rbp, %rax
.end
+ // Support for os::rdtsc()
+ .inline _raw_rdtsc,0
+ rdtsc
+ salq $32, %rdx
+ orq %rdx, %rax
+ .end
+
// Support for jint Atomic::add(jint add_value, volatile jint* dest)
.inline _Atomic_add,2
movl %edi, %eax // save add_value for return