Skip to content

(0.30.0) Add java option to ensure classes are hashed - #14057

Merged
tajila merged 2 commits into
eclipse-openj9:v0.30.0-releasefrom
EricYangIBM:fixEnsureHashed
Dec 3, 2021
Merged

tajila merged 2 commits into
eclipse-openj9:v0.30.0-releasefrom
EricYangIBM:fixEnsureHashed

Conversation

@EricYangIBM

@EricYangIBM EricYangIBM commented Dec 2, 2021 •

Copy link
Copy Markdown
Contributor
  • Introduce java option -XX:[+|-]EnsureHashed:<class>,...
  • Store classes in table, tag them upon load
  • Inline allocator sets "has been hashed" bit for objects allocated of
    these classes
  • OOL allocator allocates and initializes the hash slot

Port of #14042 for the 0.30.0 release.

Closes: #13029
Signed-off-by: Eric Yang eric.yang@ibm.com

* Introduce java option `-XX:[+|-]EnsureHashed:<class>,...`
* Store classes in table, tag them upon load
* Inline allocator sets "has been hashed" bit for objects allocated of
these classes
* OOL allocator allocates and initializes the hash slot

Closes: eclipse-openj9#13029
Signed-off-by: Eric Yang <eric.yang@ibm.com>
@pshipton pshipton changed the title Add java option to ensure classes are hashed (0.30.0) Add java option to ensure classes are hashed Dec 2, 2021
@tajila

tajila commented Dec 2, 2021

Copy link
Copy Markdown
Contributor

I'll wait till tomorrow before merging this, to give it some time in the head stream.

@tajila
tajila merged commit f601c03 into eclipse-openj9:v0.30.0-release Dec 3, 2021
@EricYangIBM
EricYangIBM deleted the fixEnsureHashed branch December 3, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants