8360869: jcstress is able to crash jdk8 on aarch64 with jfr on#697
8360869: jcstress is able to crash jdk8 on aarch64 with jfr on#697judovana wants to merge 4 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back jvanek! A progress list of the required criteria for merging this PR into |
|
@judovana This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@gnu-andrew, @theRealAph) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
gnu-andrew
left a comment
There was a problem hiding this comment.
I would move the AC_MSG_RESULT earlier i.e.
AC_MSG_RESULT([found ($COMPILER_VERSION_NUMBER])
if test $COMPILER_VERSION_NUMBER_MAJOR -lt 5; then
AC_MSG_ERROR([GCC < 5 is known to lead to incorrect compilation on aarch64. See JDK-8360869.])
fi
And yes, configure needs to be regenerated at present.
I've removed the approval request. This should only be done after successful review and with a comment as to why it is suitable for inclusion. Easier way is with the /approval request command.
Sure, sounds good. Done.
Any recommended version of autoconf to use? When I use 2.72, the diff is 90% of the file.
Sure thing. Whether to do it or so, is if course on you and @theRealAph . I will do my best on how to do that. Thanx! |
|
Mailing list message from Andrew Haley on jdk8u-dev: On 17/09/2025 08:08, Ji?? Van?k wrote:
"Known" is a bit too strong. "GCC < 5 may incorrectly compile HotSpot" -- |
sure. TY! |
Thanks. This looks good with aph's amendments as well. It should mean the checking line is always completed with the version number and the error is on its own line.
I'll look at what I used. You may need to dust off an older version (2.72 sounds very new, not sure I've seen that one yet) It can produce differing results even with the same version from different distro packages, so I would like to drop it as we have on later JDKs. If you would rather wait on that backport, that's an alternative option. I would like to finally get that into the January update.
This is just the general process across all update releases. If there are PRs in the approval queue that still need a review, it clogs it up and can mean that ones that are ready to go are missed. In theory, there are a lot more reviewers than maintainers :) |
e06588d to
78ee959
Compare
|
Thanx! Regenerated with self built 2.69. Output was sane this time, only I manually skipped about 50 hunks like this: I guess thats done by too new gcc |
|
@judovana Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
still waiting for resolution on inclusion |
|
Rebased to tip and reruning checks |
|
@judovana Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
|
|
@aph / @gnu-andrew ping? This seems to have all steps to get merged/closed finished, right? |
|
@judovana This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
|
@judovana This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
/open |
|
@judovana This pull request is now open |
|
@gnu-andrew @theRealAph Can we please approve this or reject? TY! |
|
This just needs an 8u Reviewer to approve. @judovana Please merge master to get an updated GHA run. Thanks! |
Skipping about 50 hunks like:
@@ -50158,7 +50167,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
/* end confdefs.h. */
int
-main (void)
+main ()
{
return 0;
;
|
@judovana Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
/integrate |
|
/sponsor |
|
Going to push as commit ffdc8d8. |
We are seeing rare crashes in jcstress with jdk8 on aarch64 with jfron. Those crashes are real, however we were not able to reproduce with builds on gcc 5 and up. The real culprint was not found. but gcc version on aarch64 should be checked. Ideal version seems 7, but I'm not that bold.
I think this change must be accompanied by regenerating
generated-configurebut am not sure with process on it.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/697/head:pull/697$ git checkout pull/697Update a local copy of the PR:
$ git checkout pull/697$ git pull https://git.openjdk.org/jdk8u-dev.git pull/697/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 697View PR using the GUI difftool:
$ git pr show -t 697Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/697.diff
Using Webrev
Link to Webrev Comment