mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8149374: Replace C1-specific collection classes with universal collection classes
Reviewed-by: kvn, mgerdin, coleenp
This commit is contained in:
parent
7fc81004e3
commit
6b6686bd43
37 changed files with 269 additions and 635 deletions
|
@ -1447,12 +1447,12 @@ jvmtiError VM_RedefineClasses::merge_cp_and_rewrite(
|
|||
|
||||
ResourceMark rm(THREAD);
|
||||
_index_map_count = 0;
|
||||
_index_map_p = new intArray(scratch_cp->length(), -1);
|
||||
_index_map_p = new intArray(scratch_cp->length(), scratch_cp->length(), -1);
|
||||
|
||||
_operands_cur_length = ConstantPool::operand_array_length(old_cp->operands());
|
||||
_operands_index_map_count = 0;
|
||||
_operands_index_map_p = new intArray(
|
||||
ConstantPool::operand_array_length(scratch_cp->operands()), -1);
|
||||
int operands_index_map_len = ConstantPool::operand_array_length(scratch_cp->operands());
|
||||
_operands_index_map_p = new intArray(operands_index_map_len, operands_index_map_len, -1);
|
||||
|
||||
// reference to the cp holder is needed for copy_operands()
|
||||
merge_cp->set_pool_holder(scratch_class());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue