diff src/share/vm/runtime/thread.hpp @ 18929:8f2fb6bec986

removed GPU code
author Doug Simon <doug.simon@oracle.com>
date Fri, 23 Jan 2015 10:54:21 +0100
parents 52b4284cb496
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.hpp	Thu Jan 22 23:16:17 2015 +0100
+++ b/src/share/vm/runtime/thread.hpp	Fri Jan 23 10:54:21 2015 +0100
@@ -432,7 +432,7 @@
   ThreadLocalAllocBuffer& tlab()                 { return _tlab; }
   void initialize_tlab() {
     if (UseTLAB) {
-      tlab().initialize(this);
+      tlab().initialize();
     }
   }
 
@@ -944,36 +944,7 @@
   volatile address _exception_handler_pc;        // PC for handler of exception
   volatile int     _is_method_handle_return;     // true (== 1) if the current exception PC is a MethodHandle call site.
 
-#ifdef GRAAL
-  // Record the method and bci from a gpu kernel exception so
-  // it can be added into the exception stack trace
-  jint    _gpu_exception_bci;
-  Method* _gpu_exception_method;
-  // Record the hsailDeoptimization info so gc oops_do processing can find it
-  void*   _gpu_hsail_deopt_info;
-  jint    _gpu_hsail_tlabs_count;
-  ThreadLocalAllocBuffer** _gpu_hsail_tlabs;
-#endif
-
- public:
-#ifdef GRAAL
-  void set_gpu_exception_bci(jint bci)           { _gpu_exception_bci = bci; } 
-  jint get_gpu_exception_bci()                   { return _gpu_exception_bci; }
-  void set_gpu_exception_method(Method* method)  { _gpu_exception_method = method; }
-  Method* get_gpu_exception_method()             { return _gpu_exception_method; }
-  void set_gpu_hsail_deopt_info(void * deoptInfo) { _gpu_hsail_deopt_info = deoptInfo; }
-  void* get_gpu_hsail_deopt_info()               { return _gpu_hsail_deopt_info; }
-  jint  get_gpu_hsail_tlabs_count()              { return _gpu_hsail_tlabs_count; }
-
-  void  initialize_gpu_hsail_tlabs(jint count);
-  ThreadLocalAllocBuffer* get_gpu_hsail_tlab_at(jint idx);
-  void gpu_hsail_tlabs_make_parsable(bool retire);
-  void  delete_gpu_hsail_tlabs();
-#endif
-
  private:  
-  void tlabs_make_parsable(bool retire);
-
   // support for JNI critical regions
   jint    _jni_active_critical;                  // count of entries into JNI critical region