diff src/share/vm/code/nmethod.hpp @ 10577:9c7d9e2c8326

PTX kernel execution - no args or return value
author Morris Meyer <morris.meyer@oracle.com>
date Sat, 29 Jun 2013 21:29:34 -0400
parents ebb32c4589f3
children f22cbff51c12
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.hpp	Sat Jun 29 11:40:52 2013 +0200
+++ b/src/share/vm/code/nmethod.hpp	Sat Jun 29 21:29:34 2013 -0400
@@ -185,6 +185,7 @@
   unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes?
   unsigned int _lazy_critical_native:1;      // Lazy JNI critical native
   unsigned int _has_wide_vectors:1;          // Preserve wide vectors at safepoints
+  unsigned int _external_method:1;           // Set for GPU methods
 
   // Protected by Patching_lock
   unsigned char _state;                      // {alive, not_entrant, zombie, unloaded}
@@ -462,6 +463,9 @@
   bool  is_speculatively_disconnected() const     { return _speculatively_disconnected; }
   void  set_speculatively_disconnected(bool z)    { _speculatively_disconnected = z; }
 
+  bool  is_external_method() const                { return _external_method; }
+  void  set_external_method(bool z)               { _external_method = z; }
+
   bool  is_lazy_critical_native() const           { return _lazy_critical_native; }
   void  set_lazy_critical_native(bool z)          { _lazy_critical_native = z; }