Removing a wasteful field in ActorCell, preparing to get to 64bytes (cache line glove-fit

This commit is contained in:
Viktor Klang 2011-11-23 01:18:29 +01:00
parent 4e6361acb7
commit 3be5c05b76
4 changed files with 32 additions and 39 deletions

View file

@ -188,7 +188,7 @@ abstract class Mailbox(val actor: ActorCell) extends MessageQueue with SystemMes
var nextMessage = systemDrain()
try {
while (nextMessage ne null) {
if (debug) println(actor.self + " processing system message " + nextMessage + " with children " + actor.childrenRefs + "/" + actor.childrenStats)
if (debug) println(actor.self + " processing system message " + nextMessage + " with children " + actor.childrenRefs)
actor systemInvoke nextMessage
nextMessage = nextMessage.next
// dont ever execute normal message when system message present!