equal
deleted
inserted
replaced
1279 // use the klass pointer for the linked list. Instead we have |
1279 // use the klass pointer for the linked list. Instead we have |
1280 // to allocate an oopDesc in the C-Heap and use that for the linked list. |
1280 // to allocate an oopDesc in the C-Heap and use that for the linked list. |
1281 // XXX This is horribly inefficient when a promotion failure occurs |
1281 // XXX This is horribly inefficient when a promotion failure occurs |
1282 // and should be fixed. XXX FIX ME !!! |
1282 // and should be fixed. XXX FIX ME !!! |
1283 #ifndef PRODUCT |
1283 #ifndef PRODUCT |
1284 Atomic::inc_ptr(&_num_par_pushes); |
1284 Atomic::inc(&_num_par_pushes); |
1285 assert(_num_par_pushes > 0, "Tautology"); |
1285 assert(_num_par_pushes > 0, "Tautology"); |
1286 #endif |
1286 #endif |
1287 if (from_space_obj->forwardee() == from_space_obj) { |
1287 if (from_space_obj->forwardee() == from_space_obj) { |
1288 oopDesc* listhead = NEW_C_HEAP_ARRAY(oopDesc, 1, mtGC); |
1288 oopDesc* listhead = NEW_C_HEAP_ARRAY(oopDesc, 1, mtGC); |
1289 listhead->forward_to(from_space_obj); |
1289 listhead->forward_to(from_space_obj); |