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

Fixes for -XX:+ClassRelationshipVerifier implementation #7148

Merged
merged 2 commits into from
Sep 19, 2019

Conversation

sharon-wang
Copy link
Contributor

@sharon-wang sharon-wang commented Sep 18, 2019

Fixes: #7140

  • Remove redundant exception check causing intermittent failures

    • Intermittent test failures were occurring due to the use of initializationLock in the exception check. If gc occurs and the lock is not updated (pushed/popped properly), then the lock may be bogus. setInitStatus() would then attempt to use the bogus lock, causing a segmentation fault.
  • Set class relationships runtime flag only if -Xfuture is not used

Related to #7089

Only set the runtime flag for -XX:+ClassRelationshipVerifier if
-Xfuture is not enabled.

Signed-off-by: Sharon Wang <sharon-wang-cpsc@outlook.com>
Intermittent test failures were occurring due to the use of
`initializationLock` in the exception check. If gc occurs and the
lock is not updated (pushed/popped properly), then the lock may be
bogus. `setInitStatus()` would then attempt to use the bogus lock,
causing a segmentation fault.

Signed-off-by: Sharon Wang <sharon-wang-cpsc@outlook.com>
@pshipton
Copy link
Member

jenkins test sanity,extended xlinux,win jdk11

1 similar comment
@pshipton
Copy link
Member

jenkins test sanity,extended xlinux,win jdk11

@pshipton pshipton merged commit 1b35e0a into eclipse-openj9:master Sep 19, 2019
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.

extended.functional_x86-64 testvmcheck_6 crash
2 participants