Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JVM] Adjust 'getrusage' to fix rakudo build
The api for getrusage has been changed -- it takes an argument now.[1] Also, this commit adds a workaround for non-working native arrays in Rakudo's ThreadPoolScheduler.[2] Declaring @rusage as a native int array comes out as a VMArrayInstance_i instead of a VMArrayInstance. This really needs a clean fix, but I was unable to do that. [1] rakudo/rakudo@c71fa17d8d [2] rakudo/rakudo#1666
- Loading branch information
Showing
2 changed files
with
27 additions
and
12 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
0736a0c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh well, I messed up the commit message. It was the other way around:
Declaring @rusage as a native int array comes out as a VMArrayInstance instead of a VMArrayInstance_i.