The size of ActorCell is not 64bytes
I measured ActorCell is 84bytes, 88bytes and 92bytes in 32/64-bit system environment. So I changged the annotation of ActorCell.
This commit is contained in:
parent
c56d670c03
commit
cd58afc7f0
1 changed files with 1 additions and 1 deletions
|
|
@ -358,7 +358,7 @@ private[akka] object ActorCell {
|
|||
final val SuspendedWaitForChildrenState = 2
|
||||
}
|
||||
|
||||
//ACTORCELL IS 64bytes and should stay that way unless very good reason not to (machine sympathy, cache line fit)
|
||||
//ACTORCELL is NOT 64 bytes aligned, unless it is demonstrated to have a large improvement on performance
|
||||
//vars don't need volatile since it's protected with the mailbox status
|
||||
//Make sure that they are not read/written outside of a message processing (systemInvoke/invoke)
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue