mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8155638: Resource allocated BitMaps are often cleared twice
Reviewed-by: neliasso, kvn
This commit is contained in:
parent
47309c3715
commit
23e05cabc5
9 changed files with 9 additions and 40 deletions
|
@ -1387,7 +1387,6 @@ Instruction* LIRGenerator::instruction_for_vreg(int reg_num) {
|
|||
void LIRGenerator::set_vreg_flag(int vreg_num, VregFlag f) {
|
||||
if (_vreg_flags.size_in_bits() == 0) {
|
||||
BitMap2D temp(100, num_vreg_flags);
|
||||
temp.clear();
|
||||
_vreg_flags = temp;
|
||||
}
|
||||
_vreg_flags.at_put_grow(vreg_num, f, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue