< prev index next >

src/hotspot/share/runtime/handshake.hpp

Print this page
rev 57079 : imported patch 8234796
rev 57080 : [mq]: 8234742-v2


  80 
  81   void clear_handshake(JavaThread* thread);
  82 
  83   void process_self_inner(JavaThread* thread);
  84 public:
  85   HandshakeState();
  86 
  87   void set_operation(JavaThread* thread, HandshakeOperation* op);
  88 
  89   bool has_operation() const {
  90     return _operation != NULL;
  91   }
  92 
  93   void process_by_self(JavaThread* thread) {
  94     if (!_thread_in_process_handshake) {
  95       FlagSetting fs(_thread_in_process_handshake, true);
  96       process_self_inner(thread);
  97     }
  98   }
  99 
 100   void process_by_vmthread(JavaThread* target);
 101 };
 102 
 103 #endif // SHARE_RUNTIME_HANDSHAKE_HPP


  80 
  81   void clear_handshake(JavaThread* thread);
  82 
  83   void process_self_inner(JavaThread* thread);
  84 public:
  85   HandshakeState();
  86 
  87   void set_operation(JavaThread* thread, HandshakeOperation* op);
  88 
  89   bool has_operation() const {
  90     return _operation != NULL;
  91   }
  92 
  93   void process_by_self(JavaThread* thread) {
  94     if (!_thread_in_process_handshake) {
  95       FlagSetting fs(_thread_in_process_handshake, true);
  96       process_self_inner(thread);
  97     }
  98   }
  99 
 100   bool process_by_vmthread(JavaThread* target);
 101 };
 102 
 103 #endif // SHARE_RUNTIME_HANDSHAKE_HPP
< prev index next >