-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<!-- PRs require an approval from any of the core contributors, other than the PR author. Include this header if applicable: Fixes #issue1, #issue2, ... --> ### Problem <!-- Explain here the context, and why you're making this change. What is the problem you're trying to solve? --> I'm taking a look at profiling sessions for Kyo's benchmarks and noticed that `Loop` is getting the `Safepoint` thread local on each iteration because of the `run` call being in a default parameter. The compiler generates a method without the `Safepoint` evidence. ### Solution <!-- Describe your solution. Focus on helping reviewers understand your technical approach and implementation decisions. --> Restructure methods to avoid the default parameter.
- Loading branch information
Showing
2 changed files
with
142 additions
and
53 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