< prev index next >
src/hotspot/cpu/sparc/c1_Runtime1_sparc.cpp
Print this page
rev 51052 : [mq]: eden
@@ -405,12 +405,15 @@
} else {
assert(id == fast_new_instance_init_check_id, "bad StubID");
__ set_info("fast new_instance init check", dont_gc_arguments);
}
+ // If TLAB is disabled, see if there is support for inlining contiguous
+ // allocations.
+ // Otherwise, just go to the slow path.
if ((id == fast_new_instance_id || id == fast_new_instance_init_check_id) &&
- UseTLAB && Universe::heap()->supports_inline_contig_alloc()) {
+ !UseTLAB && Universe::heap()->supports_inline_contig_alloc()) {
Label slow_path;
Register G1_obj_size = G1;
Register G3_t1 = G3;
Register G4_t2 = G4;
assert_different_registers(G5_klass, G1_obj_size, G3_t1, G4_t2);
< prev index next >