comparison src/share/vm/runtime/os.hpp @ 4993:897b7d18bebc

added RiCompiledMethod.execute and the required VM infrastructure
author Lukas Stadler <lukas.stadler@jku.at>
date Tue, 28 Feb 2012 18:00:35 +0100
parents de268c8a8075
children 957c266d8bc5
comparison
equal deleted inserted replaced
4992:f86ddbd42a7b 4993:897b7d18bebc
77 // ensures that VMThread doesn't starve profiler 77 // ensures that VMThread doesn't starve profiler
78 CriticalPriority = 11 // Critical thread priority 78 CriticalPriority = 11 // Critical thread priority
79 }; 79 };
80 80
81 // Typedef for structured exception handling support 81 // Typedef for structured exception handling support
82 typedef void (*java_call_t)(JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread); 82 typedef void (*java_call_t)(JavaValue* value, methodHandle* method, nmethod* nm, JavaCallArguments* args, Thread* thread);
83 83
84 class os: AllStatic { 84 class os: AllStatic {
85 public: 85 public:
86 enum { page_sizes_max = 9 }; // Size of _page_sizes array (8 plus a sentinel) 86 enum { page_sizes_max = 9 }; // Size of _page_sizes array (8 plus a sentinel)
87 87
630 // random number generation 630 // random number generation
631 static long random(); // return 32bit pseudorandom number 631 static long random(); // return 32bit pseudorandom number
632 static void init_random(long initval); // initialize random sequence 632 static void init_random(long initval); // initialize random sequence
633 633
634 // Structured OS Exception support 634 // Structured OS Exception support
635 static void os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, JavaCallArguments* args, Thread* thread); 635 static void os_exception_wrapper(java_call_t f, JavaValue* value, methodHandle* method, nmethod* nm, JavaCallArguments* args, Thread* thread);
636 636
637 // On Windows this will create an actual minidump, on Linux/Solaris it will simply check core dump limits 637 // On Windows this will create an actual minidump, on Linux/Solaris it will simply check core dump limits
638 static void check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize); 638 static void check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize);
639 639
640 // JVMTI & JVM monitoring and management support 640 // JVMTI & JVM monitoring and management support