hotspot/src/share/vm/ci/ciField.cpp
changeset 4571 80b553bddc26
parent 4567 7fc02fbe5c7a
child 4644 2b1a1bc98168
equal deleted inserted replaced
4569:f372ea9e5ed4 4571:80b553bddc26
   190     // 2. The field is a *special* static&final field whose value
   190     // 2. The field is a *special* static&final field whose value
   191     //    may change.  The three examples are java.lang.System.in,
   191     //    may change.  The three examples are java.lang.System.in,
   192     //    java.lang.System.out, and java.lang.System.err.
   192     //    java.lang.System.out, and java.lang.System.err.
   193 
   193 
   194     klassOop k = _holder->get_klassOop();
   194     klassOop k = _holder->get_klassOop();
   195     assert( SystemDictionary::system_klass() != NULL, "Check once per vm");
   195     assert( SystemDictionary::System_klass() != NULL, "Check once per vm");
   196     if( k == SystemDictionary::system_klass() ) {
   196     if( k == SystemDictionary::System_klass() ) {
   197       // Check offsets for case 2: System.in, System.out, or System.err
   197       // Check offsets for case 2: System.in, System.out, or System.err
   198       if( _offset == java_lang_System::in_offset_in_bytes()  ||
   198       if( _offset == java_lang_System::in_offset_in_bytes()  ||
   199           _offset == java_lang_System::out_offset_in_bytes() ||
   199           _offset == java_lang_System::out_offset_in_bytes() ||
   200           _offset == java_lang_System::err_offset_in_bytes() ) {
   200           _offset == java_lang_System::err_offset_in_bytes() ) {
   201         _is_constant = false;
   201         _is_constant = false;