src/share/vm/opto/parse3.cpp

changeset 6313
de95063c0e34
parent 5658
edb5ab0f3fe5
child 6507
752ba2e5f6d0
equal deleted inserted replaced
6312:04d32e7fad07 6313:de95063c0e34
335 // cases: 335 // cases:
336 // can_be_constant = (oop not scavengable || ScavengeRootsInCode != 0) 336 // can_be_constant = (oop not scavengable || ScavengeRootsInCode != 0)
337 // should_be_constant = (oop not scavengable || ScavengeRootsInCode >= 2) 337 // should_be_constant = (oop not scavengable || ScavengeRootsInCode >= 2)
338 // An oop is not scavengable if it is in the perm gen. 338 // An oop is not scavengable if it is in the perm gen.
339 if (stable_type != NULL && con_type != NULL && con_type->isa_oopptr()) 339 if (stable_type != NULL && con_type != NULL && con_type->isa_oopptr())
340 con_type = con_type->join(stable_type); 340 con_type = con_type->join_speculative(stable_type);
341 break; 341 break;
342 342
343 case T_ILLEGAL: 343 case T_ILLEGAL:
344 // Invalid ciConstant returned due to OutOfMemoryError in the CI 344 // Invalid ciConstant returned due to OutOfMemoryError in the CI
345 assert(C->env()->failing(), "otherwise should not see this"); 345 assert(C->env()->failing(), "otherwise should not see this");

mercurial