mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8309637: runtime/handshake/HandshakeTimeoutTest.java fails with "has not cleared handshake op" and SIGILL
Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
63f32fbe97
commit
57e7e82fa1
5 changed files with 34 additions and 34 deletions
|
@ -110,7 +110,7 @@ class WatcherThread: public NonJavaThread {
|
|||
private:
|
||||
static WatcherThread* _watcher_thread;
|
||||
|
||||
static bool _startable;
|
||||
static bool _run_all_tasks;
|
||||
// volatile due to at least one lock-free read
|
||||
volatile static bool _should_terminate;
|
||||
public:
|
||||
|
@ -137,9 +137,9 @@ class WatcherThread: public NonJavaThread {
|
|||
// Create and start the single instance of WatcherThread, or stop it on shutdown
|
||||
static void start();
|
||||
static void stop();
|
||||
// Only allow start once the VM is sufficiently initialized
|
||||
// Otherwise the first task to enroll will trigger the start
|
||||
static void make_startable();
|
||||
// Allow executing registered tasks once the VM is sufficiently
|
||||
// initialized. Meanwhile only error reporting will be checked.
|
||||
static void run_all_tasks();
|
||||
private:
|
||||
int sleep() const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue