-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduce memory overhead for step value types (#1158)
Use AtomicLongFieldUpdater to shrink the footprint of StepLong, StepDouble, and AtomicDouble. This avoids the object overhead and pointer traversal needed when using AtomicLong internally. Note, it does change some of the public methods on StepLong and StepDouble. However, those are internal implementation classes and should not be used outside of the spectator libraries. --------- Co-authored-by: Brian Harrington <brharrington@gmail.com>
- Loading branch information
1 parent
04a6b4d
commit 17e6d74
Showing
11 changed files
with
635 additions
and
119 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
Oops, something went wrong.