35 #include "oops/markOop.hpp" 36 #include "oops/method.hpp" 37 #include "oops/methodData.hpp" 38 #include "oops/oop.inline.hpp" 39 #include "oops/verifyOopClosure.hpp" 40 #include "prims/methodHandles.hpp" 41 #include "runtime/frame.inline.hpp" 42 #include "runtime/handles.inline.hpp" 43 #include "runtime/javaCalls.hpp" 44 #include "runtime/monitorChunk.hpp" 45 #include "runtime/os.hpp" 46 #include "runtime/sharedRuntime.hpp" 47 #include "runtime/signature.hpp" 48 #include "runtime/stubCodeGenerator.hpp" 49 #include "runtime/stubRoutines.hpp" 50 #include "runtime/thread.inline.hpp" 51 #include "utilities/debug.hpp" 52 #include "utilities/decoder.hpp" 53 #include "utilities/formatBuffer.hpp" 54 55 RegisterMap::RegisterMap(JavaThread *thread, bool update_map) { 56 _thread = thread; 57 _update_map = update_map; 58 clear(); 59 debug_only(_update_for_id = NULL;) 60 #ifndef PRODUCT 61 for (int i = 0; i < reg_count ; i++ ) _location[i] = NULL; 62 #endif /* PRODUCT */ 63 } 64 65 RegisterMap::RegisterMap(const RegisterMap* map) { 66 assert(map != this, "bad initialization parameter"); 67 assert(map != NULL, "RegisterMap must be present"); 68 _thread = map->thread(); 69 _update_map = map->update_map(); 70 _include_argument_oops = map->include_argument_oops(); 71 debug_only(_update_for_id = map->_update_for_id;) 72 pd_initialize_from(map); 73 if (update_map()) { 74 for(int i = 0; i < location_valid_size; i++) { | 35 #include "oops/markOop.hpp" 36 #include "oops/method.hpp" 37 #include "oops/methodData.hpp" 38 #include "oops/oop.inline.hpp" 39 #include "oops/verifyOopClosure.hpp" 40 #include "prims/methodHandles.hpp" 41 #include "runtime/frame.inline.hpp" 42 #include "runtime/handles.inline.hpp" 43 #include "runtime/javaCalls.hpp" 44 #include "runtime/monitorChunk.hpp" 45 #include "runtime/os.hpp" 46 #include "runtime/sharedRuntime.hpp" 47 #include "runtime/signature.hpp" 48 #include "runtime/stubCodeGenerator.hpp" 49 #include "runtime/stubRoutines.hpp" 50 #include "runtime/thread.inline.hpp" 51 #include "utilities/debug.hpp" 52 #include "utilities/decoder.hpp" 53 #include "utilities/formatBuffer.hpp" 54 55 #ifndef PRODUCT 56 #if defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140 57 #pragma error_messages(off, SEC_NULL_PTR_DEREF) 58 #endif 59 #endif /* PRODUCT */ 60 61 RegisterMap::RegisterMap(JavaThread *thread, bool update_map) { 62 _thread = thread; 63 _update_map = update_map; 64 clear(); 65 debug_only(_update_for_id = NULL;) 66 #ifndef PRODUCT 67 for (int i = 0; i < reg_count ; i++ ) _location[i] = NULL; 68 #endif /* PRODUCT */ 69 } 70 71 RegisterMap::RegisterMap(const RegisterMap* map) { 72 assert(map != this, "bad initialization parameter"); 73 assert(map != NULL, "RegisterMap must be present"); 74 _thread = map->thread(); 75 _update_map = map->update_map(); 76 _include_argument_oops = map->include_argument_oops(); 77 debug_only(_update_for_id = map->_update_for_id;) 78 pd_initialize_from(map); 79 if (update_map()) { 80 for(int i = 0; i < location_valid_size; i++) { |