hotspot/src/share/vm/opto/macro.cpp
changeset 5889 13152be884e5
parent 5547 f4b087cbb361
child 5901 c046f8e9c52b
equal deleted inserted replaced
5888:8eac4eb75d6e 5889:13152be884e5
  1429   InitializeNode* init = alloc->initialization();
  1429   InitializeNode* init = alloc->initialization();
  1430   // Store the klass & mark bits
  1430   // Store the klass & mark bits
  1431   Node* mark_node = NULL;
  1431   Node* mark_node = NULL;
  1432   // For now only enable fast locking for non-array types
  1432   // For now only enable fast locking for non-array types
  1433   if (UseBiasedLocking && (length == NULL)) {
  1433   if (UseBiasedLocking && (length == NULL)) {
  1434     mark_node = make_load(NULL, rawmem, klass_node, Klass::prototype_header_offset_in_bytes() + sizeof(oopDesc), TypeRawPtr::BOTTOM, T_ADDRESS);
  1434     mark_node = make_load(control, rawmem, klass_node, Klass::prototype_header_offset_in_bytes() + sizeof(oopDesc), TypeRawPtr::BOTTOM, T_ADDRESS);
  1435   } else {
  1435   } else {
  1436     mark_node = makecon(TypeRawPtr::make((address)markOopDesc::prototype()));
  1436     mark_node = makecon(TypeRawPtr::make((address)markOopDesc::prototype()));
  1437   }
  1437   }
  1438   rawmem = make_store(control, rawmem, object, oopDesc::mark_offset_in_bytes(), mark_node, T_ADDRESS);
  1438   rawmem = make_store(control, rawmem, object, oopDesc::mark_offset_in_bytes(), mark_node, T_ADDRESS);
  1439 
  1439