comparison src/share/vm/runtime/deoptimization.cpp @ 22717:ba7846fcb814

Fix ppc and x86_32 after fetch_unroll_info_helper changes Changes in 3c1edc9c60d8 only included x86_64 and sparc. This change also reuses the existing unpack_kind instead of a new field in UnrollBlock.
author Gilles Duboscq <gilles.m.duboscq@oracle.com>
date Mon, 02 Nov 2015 15:33:53 +0100
parents 3c1edc9c60d8
children 48fde4d03767
comparison
equal deleted inserted replaced
22716:f536aaa5a5d5 22717:ba7846fcb814
117 _register_block = NEW_C_HEAP_ARRAY(intptr_t, RegisterMap::reg_count * 2, mtCompiler); 117 _register_block = NEW_C_HEAP_ARRAY(intptr_t, RegisterMap::reg_count * 2, mtCompiler);
118 _return_type = return_type; 118 _return_type = return_type;
119 _initial_info = 0; 119 _initial_info = 0;
120 // PD (x86 only) 120 // PD (x86 only)
121 _counter_temp = 0; 121 _counter_temp = 0;
122 _unpack_kind = 0; 122 _unpack_kind = exec_mode;
123 _sender_sp_temp = 0; 123 _sender_sp_temp = 0;
124 124
125 _total_frame_sizes = size_of_frames(); 125 _total_frame_sizes = size_of_frames();
126 assert(exec_mode >= 0 && exec_mode < Unpack_LIMIT, "Unexpected exec_mode"); 126 assert(exec_mode >= 0 && exec_mode < Unpack_LIMIT, "Unexpected exec_mode");
127 _exec_mode = exec_mode;
128 } 127 }
129 128
130 129
131 Deoptimization::UnrollBlock::~UnrollBlock() { 130 Deoptimization::UnrollBlock::~UnrollBlock() {
132 FREE_C_HEAP_ARRAY(intptr_t, _frame_sizes, mtCompiler); 131 FREE_C_HEAP_ARRAY(intptr_t, _frame_sizes, mtCompiler);