Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/safepoint.hpp @ 4873:0382d2b469b2
7013347: allow crypto functions to be called inline to enhance performance
Reviewed-by: kvn
author | never |
---|---|
date | Wed, 01 Feb 2012 16:57:08 -0800 |
parents | 1a2723f7ad8e |
children | d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
4872:aa3d708d67c4 | 4873:0382d2b469b2 |
---|---|
138 static void begin(); | 138 static void begin(); |
139 static void end(); // Start all suspended threads again... | 139 static void end(); // Start all suspended threads again... |
140 | 140 |
141 static bool safepoint_safe(JavaThread *thread, JavaThreadState state); | 141 static bool safepoint_safe(JavaThread *thread, JavaThreadState state); |
142 | 142 |
143 static void check_for_lazy_critical_native(JavaThread *thread, JavaThreadState state); | |
144 | |
143 // Query | 145 // Query |
144 inline static bool is_at_safepoint() { return _state == _synchronized; } | 146 inline static bool is_at_safepoint() { return _state == _synchronized; } |
145 inline static bool is_synchronizing() { return _state == _synchronizing; } | 147 inline static bool is_synchronizing() { return _state == _synchronizing; } |
146 | 148 |
147 inline static bool do_call_back() { | 149 inline static bool do_call_back() { |