-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare for value objects to be created with new bytecode
This change sets up changes to the JIT compiler that will be needed to permit value objects to be created with the new bytecode. Previously they could only be created with the aconst_init and withfield bytecode instructions. The new bytecode will be translated to the TR::New opcode in IL, but existing optimizations that create value type instances will continue to use the TR::newvalue opcode, so optimizations need to be prepared for both possibilities for now. A new J9::ObjectModel::areValueTypeInstancesCreatedWithBCNew method is used to enable creation of value type instances with the new bytecode. Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
- Loading branch information
Showing
4 changed files
with
26 additions
and
9 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
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