src/share/vm/opto/library_call.cpp

changeset 1222
aabd393cf1ee
parent 1210
93c14e5562c4
child 1260
8f5825e0aeaa
     1.1 --- a/src/share/vm/opto/library_call.cpp	Fri May 15 18:14:44 2009 -0700
     1.2 +++ b/src/share/vm/opto/library_call.cpp	Thu May 21 10:05:36 2009 -0700
     1.3 @@ -2593,7 +2593,8 @@
     1.4    Node* p = basic_plus_adr(top()/*!oop*/, tls_ptr, in_bytes(JavaThread::osthread_offset()));
     1.5    Node* osthread = make_load(NULL, p, TypeRawPtr::NOTNULL, T_ADDRESS);
     1.6    p = basic_plus_adr(top()/*!oop*/, osthread, in_bytes(OSThread::interrupted_offset()));
     1.7 -  Node* int_bit = make_load(NULL, p, TypeInt::BOOL, T_INT);
     1.8 +  // Set the control input on the field _interrupted read to prevent it floating up.
     1.9 +  Node* int_bit = make_load(control(), p, TypeInt::BOOL, T_INT);
    1.10    Node* cmp_bit = _gvn.transform( new (C, 3) CmpINode(int_bit, intcon(0)) );
    1.11    Node* bol_bit = _gvn.transform( new (C, 2) BoolNode(cmp_bit, BoolTest::ne) );
    1.12  

mercurial