comparison src/share/vm/runtime/thread.hpp @ 22466:5e61ca976049

documented other JVMCI-specific fields in JavaThread
author Doug Simon <doug.simon@oracle.com>
date Tue, 25 Aug 2015 15:01:40 +0200
parents b14500c9da22
children f58e7b5fe0ab
comparison
equal deleted inserted replaced
22465:b14500c9da22 22466:5e61ca976049
915 }; 915 };
916 916
917 private: 917 private:
918 918
919 #if INCLUDE_JVMCI 919 #if INCLUDE_JVMCI
920 // The _pending_* fields below are used to communicate extra information
921 // from an uncommon trap in JVMCI compiled code to the uncommon trap handler.
922
923 // Communicates the DeoptReason and DeoptAction of the uncommon trap
920 int _pending_deoptimization; 924 int _pending_deoptimization;
925
926 // An object that JVMCI compiled code can use to further describe and
927 // uniquely identify the speculative optimization guarded by the uncommon trap
921 oop _pending_failed_speculation; 928 oop _pending_failed_speculation;
929
930 // Specifies whether the uncommon trap is to bci 0 of a synchronized method
931 // before the monitor has been acquired.
922 bool _pending_monitorenter; 932 bool _pending_monitorenter;
933
934 // Specifies if the DeoptReason for the last uncommon trap was Reason_transfer_to_interpreter
923 bool _pending_transfer_to_interpreter; 935 bool _pending_transfer_to_interpreter;
936
924 // These fields are mutually exclusive in terms of live ranges 937 // These fields are mutually exclusive in terms of live ranges
925 // so this could be a union instead of a struct. 938 // so this could be a union instead of a struct.
926 struct { 939 struct {
927 // Communicates the pc at which the most recent implicit exception occurred 940 // Communicates the pc at which the most recent implicit exception occurred
928 // from the signal handler to a deoptimization stub. 941 // from the signal handler to a deoptimization stub.