src/os_cpu/bsd_x86/vm/os_bsd_x86.hpp

Print this page




  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef OS_CPU_BSD_X86_VM_OS_BSD_X86_HPP
  26 #define OS_CPU_BSD_X86_VM_OS_BSD_X86_HPP
  27 
  28   static void setup_fpu();
  29   static bool supports_sse();
  30 
  31   static jlong rdtsc();
  32 
  33   static bool is_allocatable(size_t bytes);
  34 
  35   // Used to register dynamic code cache area with the OS
  36   // Note: Currently only used in 64 bit Windows implementations
  37   static bool register_code_area(char *low, char *high) { return true; }
  38 



  39 #endif // OS_CPU_BSD_X86_VM_OS_BSD_X86_HPP


  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef OS_CPU_BSD_X86_VM_OS_BSD_X86_HPP
  26 #define OS_CPU_BSD_X86_VM_OS_BSD_X86_HPP
  27 
  28   static void setup_fpu();
  29   static bool supports_sse();
  30 
  31   static jlong rdtsc();
  32 
  33   static bool is_allocatable(size_t bytes);
  34 
  35   // Used to register dynamic code cache area with the OS
  36   // Note: Currently only used in 64 bit Windows implementations
  37   static bool register_code_area(char *low, char *high) { return true; }
  38 
  39   // Amount beyond the callee frame size that we bang the stack.
  40   static int extra_bang_size_in_bytes();
  41 
  42 #endif // OS_CPU_BSD_X86_VM_OS_BSD_X86_HPP