mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6953477: Increase portability and flexibility of building Hotspot
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
This commit is contained in:
parent
c45761e2a8
commit
b95c7e9523
113 changed files with 1669 additions and 559 deletions
|
@ -410,9 +410,6 @@ public:
|
|||
// Sweeper support
|
||||
void nmethods_do(CodeBlobClosure* cf);
|
||||
|
||||
// Tells if adr belong to this thread. This is used
|
||||
// for checking if a lock is owned by the running thread.
|
||||
|
||||
// Used by fast lock support
|
||||
virtual bool is_lock_owned(address adr) const;
|
||||
|
||||
|
@ -609,7 +606,7 @@ class WatcherThread: public Thread {
|
|||
private:
|
||||
static WatcherThread* _watcher_thread;
|
||||
|
||||
static bool _should_terminate;
|
||||
volatile static bool _should_terminate; // updated without holding lock
|
||||
public:
|
||||
enum SomeConstants {
|
||||
delay_interval = 10 // interrupt delay in milliseconds
|
||||
|
@ -839,6 +836,10 @@ class JavaThread: public Thread {
|
|||
return (struct JNINativeInterface_ *)_jni_environment.functions;
|
||||
}
|
||||
|
||||
// This function is called at thread creation to allow
|
||||
// platform specific thread variables to be initialized.
|
||||
void cache_global_variables();
|
||||
|
||||
// Executes Shutdown.shutdown()
|
||||
void invoke_shutdown_hooks();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue