diff src/share/vm/memory/gcLocker.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 09d00c18e323
line wrap: on
line diff
--- a/src/share/vm/memory/gcLocker.hpp	Wed Feb 01 07:59:01 2012 -0800
+++ b/src/share/vm/memory/gcLocker.hpp	Wed Feb 01 16:57:08 2012 -0800
@@ -164,6 +164,8 @@
   // is set, the slow path is always taken, till _needs_gc is cleared.
   static void lock_critical(JavaThread* thread);
   static void unlock_critical(JavaThread* thread);
+
+  static address needs_gc_address() { return (address) &_needs_gc; }
 };