-
Notifications
You must be signed in to change notification settings - Fork 238
8292177: InitialSecurityProperty JFR event #2827
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back andrew! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
This backport pull request has now been updated with issue from the original commit. |
Not sure why the Mac port won't build (no error message), but I can't see a Java-only change causing this. |
Ok, seems the Mac OS 11 runner image was removed on the 28th of June. We need to backport JDK-8318039 |
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@gnu-andrew 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 |
@gnu-andrew This pull request is now open |
|
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Keep open please. |
/approval request This is part of a number of improvements to the visibility of security property settings and is followed by JDK-8281658 which allows them to be output from the command line. While I realise it is an enhancement being backported late in the 11u lifecycle, easy access to these security properties is often invaluable when debugging various issues. The same backport was already made to 17 during its maintenance period (17.0.7) and Oracle support this in their 11u fork from 11.0.20. Patch did not backport cleanly, but was reviewed by Paul Hohensee. |
@gnu-andrew |
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
3 similar comments
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@gnu-andrew 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 |
Please re-open, merge latest master and get a second review by either @martinuy or @franferrax. Thanks! |
I've removed the fix request label until the PR is open again and got a review from security folks. |
/open |
@gnu-andrew This pull request is now open |
@gnu-andrew 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 add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
This backport introduces the JFR security event,
InitialSecurityProperty
, and along with it, the caching of the initial security properties which is also used by JDK-8281658 to show the security properties with-XshowSettings
.The change was backported to the Oracle fork of 11u in 11.0.20.
The following changes were necessary for the backport:
JavaSecurityPropertiesAccess
is moved tojdk.internal.misc
whereSharedSecrets
lives in 11uensureClassInitialized
inSharedSecrets
is called from theunsafe
instance in 11u, as with otherget*Access()
methods in that classmodule-info.java
is not needed asjdk.jfr
already has access tojdk.internal.misc
in 11u. The 17u addition is tojdk.internal.access
.JDKEvents.java
due to events introduced in later JDK versions.EventNames.java
test includes a huge unrelated change to reorganise the order of the variable modifiers. This was applied manually to the names in 11u, which differ slightly from those in 17u.All
jdk.jfr.event
tests passed, including the new one, with the exception ofTestNative
, but that seems to be a setup issue rather than a regression caused by this patch (Error. Use -nativepath to specify the location of native code
)Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2827/head:pull/2827
$ git checkout pull/2827
Update a local copy of the PR:
$ git checkout pull/2827
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2827/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2827
View PR using the GUI difftool:
$ git pr show -t 2827
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2827.diff
Using Webrev
Link to Webrev Comment