-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CogVM source as per Name: VMMaker.oscog-eem.3127
Revise primitiveSuspend to no longer just remove a process from its condition variable list if waiting on a condition variable. Instead also back up the process one bytecode so that the blocking send will be retried if and when the process is resumed. Distinguish between a process being runnable but not active from a blocked process by the class of myList. If myList is LinkedList the process is runnable. Hence keep track of the class of LinkedList. Refactor convertToInterpreterFrame: to convertFrame:toInterpreterFrame: to facilitate implementation in the Cogit (a send byetcode is not a suspension point in machien code, hence a machien code caller of a blocking primtiive must be converted to an interpreter frame). Fix formatting bug in longPrintOop:. Cog: several places can use startPCOfMethodHeader: instead of startPCOfMethod: convertToInterpreterFrame: needs to assert validInstructionPointer:..., not just evaluate it. Interpreter: better to test process having a context first in printAllStacks.
- Loading branch information
1 parent
c376667
commit b266a59
Showing
68 changed files
with
16,676 additions
and
12,442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.