Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add constant dynamic slot iterator #2861

Conversation

acrowthe
Copy link
Contributor

Move constant dynamic scanning from ConstantPoolObjectSlotIterator into a separate class to reduce complexity.

@acrowthe acrowthe changed the title Add constant dynamic slot iterator WIP: Add constant dynamic slot iterator Sep 13, 2018
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch from 952101c to 74e9b5c Compare September 14, 2018 15:56
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch from 74e9b5c to a752274 Compare September 14, 2018 17:56
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch 25 times, most recently from 8de5693 to a1d0102 Compare September 17, 2018 20:36
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch from 3ab83f1 to 78a0264 Compare September 21, 2018 21:17
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch 4 times, most recently from 3f3292e to f4cdd72 Compare September 25, 2018 13:58
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch 2 times, most recently from b7d3088 to 6f1cf9f Compare September 25, 2018 19:04
@tajila
Copy link
Contributor

tajila commented Sep 25, 2018

@dmitripivkine please take another look

Copy link
Contributor

@dmitripivkine dmitripivkine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmitripivkine
Copy link
Contributor

Jenkins test sanity xLinux jdk8

@dmitripivkine
Copy link
Contributor

Jenkins test sanity pLinux jdk11

@dmitripivkine
Copy link
Contributor

Failure:

19:55:23         ===============================================
19:55:23         Running test CondyGarbageCollection_4 ...
19:55:23         ===============================================
19:55:23         CondyGarbageCollection_4 Start Time: Tue Sep 25 23:12:25 2018 Epoch Time (ms): 1537917145074
19:55:23         test with -Xgcpolicy:metronome
19:55:23         JVMJ9VM007E Command-line option unrecognised: -Xgcpolicy:metronome
19:55:23         Error: Could not create the Java Virtual Machine.
19:55:23         Error: A fatal exception has occurred. Program will exit.
19:55:23         
19:55:23         CondyGarbageCollection_4_FAILED

-Xgcpolicy metronome is not supported at all platforms

@dmitripivkine
Copy link
Contributor

Add WIP: to prevent accidental merge. Test for -Xgcpolicy:metronome should be requested at supported platforms only

@acrowthe acrowthe changed the title Add constant dynamic slot iterator WIP: Add constant dynamic slot iterator Sep 26, 2018
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch from 6f1cf9f to 4ff8db7 Compare September 26, 2018 14:46
@tajila
Copy link
Contributor

tajila commented Sep 26, 2018

@dmitripivkine can you please re-run the jdk11 sanity test

@dmitripivkine
Copy link
Contributor

Jenkins test sanity pLinux jdk11

@dmitripivkine
Copy link
Contributor

Jenkins test sanity xLinux jdk11

Implementing ConstantDynamicSlotIterator:
- Implements scanNow() functionality for ConstantDynamic pool entries
- Refactors scanCondySlot out of ConstantPoolObjectSlotIterator
- Simplifies ConstantPoolObjectSlotIterator by acting as sub iterator
- Handles the requirement to scan constant dynamics multiple times

Implementing tests:
- Test garbage collection on constant dynamics that have null,
primitive and exception values.

Signed-off-by: Andrew Crowther <acrowthe3388@gmail.com>
@acrowthe acrowthe force-pushed the add_constant_dynamic_slot_iterator branch from 4ff8db7 to e87d063 Compare September 26, 2018 17:22
@dmitripivkine
Copy link
Contributor

Jenkins test sanity pLinux jdk11

@dmitripivkine
Copy link
Contributor

Jenkins test sanity xLinux jdk11

@dmitripivkine dmitripivkine merged commit 8e4fb71 into eclipse-openj9:master Sep 26, 2018
@pshipton pshipton changed the title WIP: Add constant dynamic slot iterator Add constant dynamic slot iterator Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants