-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For Unsafe.get()/put(), reorder blocks to optimize fallthrough path
There are three possible cases regarding the type of the object being operated on for Unsafe.get()/put(): 1.) array object 2.) java/lang/Class object 3.) none of the above Since case (3) is the most likely, we want the block corresponding to this case (directAccessBlock) to be on the fallthrough path. Signed-off-by: midronij <[email protected]>
- Loading branch information
Showing
1 changed file
with
38 additions
and
1 deletion.
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