hotspot/src/share/vm/code/nmethod.cpp
changeset 47099 49f5fa3fc2ae
parent 46968 9119841280f4
equal deleted inserted replaced
47098:e704f55561c3 47099:49f5fa3fc2ae
  1218     // nmethod::can_not_entrant_be_converted(). I.e., a method can immediately
  1218     // nmethod::can_not_entrant_be_converted(). I.e., a method can immediately
  1219     // transition its state from 'not_entrant' to 'zombie' without having to wait
  1219     // transition its state from 'not_entrant' to 'zombie' without having to wait
  1220     // for stack scanning.
  1220     // for stack scanning.
  1221     if (state == not_entrant) {
  1221     if (state == not_entrant) {
  1222       mark_as_seen_on_stack();
  1222       mark_as_seen_on_stack();
  1223       OrderAccess::storestore();
  1223       OrderAccess::storestore(); // _stack_traversal_mark and _state
  1224     }
  1224     }
  1225 
  1225 
  1226     // Change state
  1226     // Change state
  1227     _state = state;
  1227     _state = state;
  1228 
  1228