Re: RFR: 8253899: Make IsClassUnloadingEnabled signature match specification

2020-10-02 Thread Vladimir Kempik
On Fri, 2 Oct 2020 05:10:20 GMT, Serguei Spitsyn wrote: >> Please review this change for hotspot and one test. >> There is few JVMTI callback/event functions in jdk which signature doesn't >> match specification. >> for example: >> static jvmtiError JNICALL IsClassUnloadingEnabled(const jvmtiEnv

Re: RFR: 8253899: Make IsClassUnloadingEnabled signature match specification

2020-10-02 Thread David Holmes
On Fri, 2 Oct 2020 06:59:13 GMT, Vladimir Kempik wrote: >> Vladimir, it looks good to me. > >> David, >> I think, Vladimir is referring to the JVMTI extension mechanism spec: >> https://docs.oracle.com/en/java/javase/15/docs/specs/jvmti.html#jvmtiExtensionFunction >> https://docs.oracle.com/en/ja

Re: RFR: 8252657: JVMTI agent is not unloaded when Agent_OnAttach is failed

2020-10-02 Thread Yasumasa Suenaga
On Fri, 2 Oct 2020 06:30:34 GMT, Serguei Spitsyn wrote: > * Q1: Is it necessary to call the Agent_OnUnload()? [JVMTI spec of Agent_OnUnload()](https://docs.oracle.com/en/java/javase/15/docs/specs/jvmti.html#onunload) says this function will be called when the agent library will be unloaded by

Re: RFR: 8253899: Make IsClassUnloadingEnabled signature match specification

2020-10-02 Thread Vladimir Kempik
On Fri, 2 Oct 2020 07:27:17 GMT, David Holmes wrote: > Okay but look at the example that documentation gives: > > > For example, if the jvmtiParamInfo returned by GetExtensionEvents indicates > > that there is a jint parameter, the event > > handler should be declared: ``` > > void JNICALL

Re: RFR: 8252105: parallel heap inspection for ZCollectedHeap [v2]

2020-10-02 Thread Per Liden
On Fri, 11 Sep 2020 07:24:20 GMT, Lin Zang wrote: >> Hi @pliden, >> Thanks for your comments, I will try to merge ZHeapIterator and >> ZHeapParIterator and update the pr then. >> -Lin > > Hi @pliden, >I updated the PR which merge the changed code into ZHeapIterator. >May I ask your hel

Re: RFR: 8252997: Null-proofing for linker_md.c [v2]

2020-10-02 Thread Adam Farley
> In the platform-specific implementations of linker_md.c, we see the > dll_build_name methods begin with a call to > jvmtiAllocate. > We then appear to rush ahead and try to use that variable without checking > for a null. > > I propose moving the null check to the point *before* we try to use

Re: RFR: 8252997: Null-proofing for linker_md.c [v2]

2020-10-02 Thread Adam Farley
On Fri, 18 Sep 2020 22:25:13 GMT, Chris Plummer wrote: >> Adam Farley has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental >> views will show differences compared to the previous content of the PR. The >> pull request contains one new commi

Re: RFR: 8253900: SA: wrong size computation when JVM was built without AOT [v5]

2020-10-02 Thread Martin Doerr
On Fri, 2 Oct 2020 04:46:53 GMT, Serguei Spitsyn wrote: >> Ziviani has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental views >> will show differences compared to the previous content of the PR. > > LGTM Added comment to JDK-8230664. Test r

Re: RFR: JDK-8247589: Implementation of Alpine Linux/x64 Port [v3]

2020-10-02 Thread Aleksei Voitylov
> continuing the review thread from here > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-September/068546.html > >> The download side of using JNI in these tests is that it complicates the >> setup a bit for those that run jtreg directly and/or just build the JDK >> and not the test

Integrated: 8252537: Updated @exception with @throws

2020-10-02 Thread Vipin Sharma
On Wed, 9 Sep 2020 19:29:30 GMT, Vipin Sharma wrote: > Updated @exception with @throws for core-libs, it fixes all open sub-tasks of > JDK-8252536. > > Open Subtasks part of this fix are: > 1. JDK-8252537 > 2. JDK-8252539 > 3. JDK-8252540 > 4. JDK-8252541 > > Previous conversation on this: > h

Re: RFR: 8253899: Make IsClassUnloadingEnabled signature match specification

2020-10-02 Thread David Holmes
Hi Vladimir, On 2/10/2020 5:37 pm, Vladimir Kempik wrote: On Fri, 2 Oct 2020 07:27:17 GMT, David Holmes wrote: Okay but look at the example that documentation gives: For example, if the jvmtiParamInfo returned by GetExtensionEvents indicates that there is a jint parameter, the event handle

Re: RFR: 8253899: Make IsClassUnloadingEnabled signature match specification

2020-10-02 Thread Vladimir Kempik
On Fri, 2 Oct 2020 07:34:45 GMT, Vladimir Kempik wrote: >> Okay but look at the example that documentation gives: >> >>> For example, if the jvmtiParamInfo returned by GetExtensionEvents indicates >>> that there is a jint parameter, the event >>> handler should be declared: >>> void JNI

Re: RFR: JDK-8247589: Implementation of Alpine Linux/x64 Port [v4]

2020-10-02 Thread Aleksei Voitylov
> continuing the review thread from here > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-September/068546.html > >> The download side of using JNI in these tests is that it complicates the >> setup a bit for those that run jtreg directly and/or just build the JDK >> and not the test

Re: RFR: JDK-8247589: Implementation of Alpine Linux/x64 Port [v5]

2020-10-02 Thread Aleksei Voitylov
> continuing the review thread from here > https://mail.openjdk.java.net/pipermail/core-libs-dev/2020-September/068546.html > >> The download side of using JNI in these tests is that it complicates the >> setup a bit for those that run jtreg directly and/or just build the JDK >> and not the test

RFR: 8245543: Cgroups: Incorrect detection logic on some systems (still reproducible)

2020-10-02 Thread Severin Gehwolf
An issue similar to [JDK-8239559](https://bugs.openjdk.java.net/browse/JDK-8239559) has been discovered. On the affected system, `/proc/self/mountinfo` contains a line such as this one: 35 26 0:26 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup systemd rw,name=systemd Note

Re: RFR: 8245543: Cgroups: Incorrect detection logic on some systems (still reproducible)

2020-10-02 Thread Severin Gehwolf
On Fri, 2 Oct 2020 16:34:49 GMT, Severin Gehwolf wrote: > An issue similar to > [JDK-8239559](https://bugs.openjdk.java.net/browse/JDK-8239559) has been > discovered. On the > affected system, `/proc/self/mountinfo` contains a line such as this one: > > 35 26 0:26 / /sys/fs/cgroup/systemd rw,n

Re: RFR: 8252997: Null-proofing for linker_md.c [v2]

2020-10-02 Thread Serguei Spitsyn
On Fri, 2 Oct 2020 09:48:48 GMT, Adam Farley wrote: >> In the platform-specific implementations of linker_md.c, we see the >> dll_build_name methods begin with a call to >> jvmtiAllocate. >> We then appear to rush ahead and try to use that variable without checking >> for a null. >> >> I propo

Re: RFR: 8248238: Implementation: JEP 388: Windows AArch64 Support [v12]

2020-10-02 Thread Monica Beckwith
On Wed, 30 Sep 2020 00:40:29 GMT, David Holmes wrote: >> Monica Beckwith has updated the pull request incrementally with one >> additional commit since the last revision: >> >> change string representation for r18 to "r18_tls" on every platform > > Marked as reviewed by dholmes (Reviewer). >