Mercurial > hg > truffle
diff src/os_cpu/solaris_x86/vm/os_solaris_x86.hpp @ 4749:7ab5f6318694
7125934: Add a fast unordered timestamp capability to Hotspot on x86/x64
Summary: Add rdtsc detection and inline generation.
Reviewed-by: kamg, dholmes
Contributed-by: karen.kinnear@oracle.com
author | phh |
---|---|
date | Sun, 01 Jan 2012 11:17:59 -0500 |
parents | f95d63e2154a |
children | b9a9ed0f8eeb |
line wrap: on
line diff
--- a/src/os_cpu/solaris_x86/vm/os_solaris_x86.hpp Mon Dec 26 20:36:01 2011 -0500 +++ b/src/os_cpu/solaris_x86/vm/os_solaris_x86.hpp Sun Jan 01 11:17:59 2012 -0500 @@ -46,6 +46,8 @@ static bool supports_sse(); + static jlong rdtsc(); + static bool is_allocatable(size_t bytes); // Used to register dynamic code cache area with the OS