-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8257988: Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m #2304
Conversation
👋 Welcome back prr! A progress list of the required criteria for merging this PR into |
Webrevs
|
For testing you want |
I'm doubtful you'll find anyone on serviceability-dev that understands JNF and the implications it has on MacosxDebuggerLocal.m. Although I've done a lot of work in this file myself recently, it's all bee sans any knowledge of JNF, Cocoa, or Objective C. You might be better off asking reviewers that looked at other recent PRs to remove JNF usage. However, having looked through JDK-8257852 and from there finding JDK-8259651, I'm wondering why you didn't just replace JNF_COCOA_ENTER/EXIT with the new JNI_COCOA_ENTER/EXIT in this PR also? Is it because they are not in a place that can be accessed from this file? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build changes look good.
@prrace This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 71 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
|
These tests passed with my changes |
src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m
Outdated
Show resolved
Hide resolved
Mailing list message from Magnus Ihse Bursie on build-dev: On 2021-02-02 21:47, Chris Plummer wrote:
That conversion is handled in https://github.com//pull/2305. /Magnus |
/integrate |
@prrace Since your change was applied there have been 71 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 2be60e3. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This removes the JNF dependency from the jdk.hotspot.agent module.
The macro expansions are the same as already used in the Java desktop module - which actually uses a macro
still but there there are hundreds of uses.
The function of this macro code is to prevent NSExceptions escaping to Java and also to drain the auto-release pool.
What test group would be good for verifying this change ?
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/2304/head:pull/2304
$ git checkout pull/2304