Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.hpp @ 14768:3e9a960f0da1
HSAIL: preliminary deopt support
Contributed-by: Tom Deneau <tom.deneau@amd.com>
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 26 Mar 2014 17:33:54 +0100 |
parents | d8041d695d19 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14767:ded08e344e4a | 14768:3e9a960f0da1 |
---|---|
944 volatile oop _exception_oop; // Exception thrown in compiled code | 944 volatile oop _exception_oop; // Exception thrown in compiled code |
945 volatile address _exception_pc; // PC where exception happened | 945 volatile address _exception_pc; // PC where exception happened |
946 volatile address _exception_handler_pc; // PC for handler of exception | 946 volatile address _exception_handler_pc; // PC for handler of exception |
947 volatile int _is_method_handle_return; // true (== 1) if the current exception PC is a MethodHandle call site. | 947 volatile int _is_method_handle_return; // true (== 1) if the current exception PC is a MethodHandle call site. |
948 | 948 |
949 // Record the method and bci from a gpu kernel exception so | |
950 // it can be added into the exception stack trace | |
951 jint _gpu_exception_bci; | |
952 Method* _gpu_exception_method; | |
953 public: | |
954 void set_gpu_exception_bci(jint bci) { _gpu_exception_bci = bci; } | |
955 jint get_gpu_exception_bci() { return _gpu_exception_bci; } | |
956 void set_gpu_exception_method(Method* method) { _gpu_exception_method = method; } | |
957 Method* get_gpu_exception_method() { return _gpu_exception_method; } | |
958 | |
959 private: | |
949 // support for JNI critical regions | 960 // support for JNI critical regions |
950 jint _jni_active_critical; // count of entries into JNI critical region | 961 jint _jni_active_critical; // count of entries into JNI critical region |
951 | 962 |
952 // For deadlock detection. | 963 // For deadlock detection. |
953 int _depth_first_number; | 964 int _depth_first_number; |