Mercurial > hg > truffle
comparison src/share/vm/graal/graalRuntime.hpp @ 15589:ddb3ef30fcd2
fixed livelock issue introduced by 063ec2920d21
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Sun, 11 May 2014 13:43:19 +0200 |
parents | 063ec2920d21 |
children | b7fb36e57da8 |
comparison
equal
deleted
inserted
replaced
15588:9a63ccd66007 | 15589:ddb3ef30fcd2 |
---|---|
31 class GraalRuntime: public CHeapObj<mtCompiler> { | 31 class GraalRuntime: public CHeapObj<mtCompiler> { |
32 private: | 32 private: |
33 | 33 |
34 static address _external_deopt_i2c_entry; | 34 static address _external_deopt_i2c_entry; |
35 | 35 |
36 enum { uninitialized, initializing, initialized }; | 36 enum State { uninitialized, initializing, initialized }; |
37 static volatile int _state; | 37 static volatile State _state; |
38 static Thread* _initializingThread; | |
39 static bool should_perform_init(); | |
38 | 40 |
39 public: | 41 public: |
40 | 42 |
41 static /*synchronized*/ void initialize(); | 43 static /*synchronized*/ void initialize(); |
42 static BufferBlob* initialize_buffer_blob(); | 44 static BufferBlob* initialize_buffer_blob(); |