-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannon: Fix GC emulation of Go programs #11704
Merged
Merged
Commits on Aug 31, 2024
-
cannon: Fix GC emulation of Go programs
Improves Linux/MIPS32 emulation for Go programs that utilize the garbage collector and goroutine scheduling. This adds support for the following syscalls: - getpid - used by the go scheduler - clock_gettime - used by the go scheduler and for GC assists and to properly emulate time related operations such as `time.Sleep`. Note on GC assists: The Go GC relies on `clock_gettime` for GC "assists", whereby a mutator can perform a little bit of GC without waiting for the scheduler to do so. A monotonic clock (runtime.nanotime) is used to compute the current goroutine's compute budget. By modeling a MIPS32 CPU that runs at some clock speed (ex: 10 MHz), we can provide a consistent emulation of monotonic time needed by the Go runtime. All other clock_gettime flags are handled as unimplemented syscalls.
Configuration menu - View commit details
-
Copy full SHA for e83a22f - Browse repository at this point
Copy the full SHA e83a22fView commit details
Commits on Sep 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 91c3eb1 - Browse repository at this point
Copy the full SHA 91c3eb1View commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 78a5097 - Browse repository at this point
Copy the full SHA 78a5097View commit details -
Configuration menu - View commit details
-
Copy full SHA for 119f17d - Browse repository at this point
Copy the full SHA 119f17dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 436df27 - Browse repository at this point
Copy the full SHA 436df27View commit details
Commits on Sep 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cef4159 - Browse repository at this point
Copy the full SHA cef4159View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ab6556 - Browse repository at this point
Copy the full SHA 2ab6556View commit details -
Configuration menu - View commit details
-
Copy full SHA for c21f7ba - Browse repository at this point
Copy the full SHA c21f7baView commit details
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4d537f5 - Browse repository at this point
Copy the full SHA 4d537f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3c1ab4 - Browse repository at this point
Copy the full SHA e3c1ab4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0478cc8 - Browse repository at this point
Copy the full SHA 0478cc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c35cfda - Browse repository at this point
Copy the full SHA c35cfdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 759f732 - Browse repository at this point
Copy the full SHA 759f732View commit details -
Configuration menu - View commit details
-
Copy full SHA for c796261 - Browse repository at this point
Copy the full SHA c796261View commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 82f3e35 - Browse repository at this point
Copy the full SHA 82f3e35View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.