Re: RFR: 8301132: Test update for deprecated sprintf in Xcode 14 [v2]

2023-01-26 Thread Xue-Lei Andrew Fan
On Thu, 26 Jan 2023 18:07:42 GMT, Mikael Vidstedt wrote: >> Xue-Lei Andrew Fan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> incorrect use of sizeof > > test/jdk/sun/management/windows/exerevokeall.c line 102: > >> 100: >> 101: /

Re: RFR: 8301132: Test update for deprecated sprintf in Xcode 14 [v2]

2023-01-26 Thread Xue-Lei Andrew Fan
> The sprintf is deprecated in Xcode 14 because of security concerns. The issue > was addressed in > [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812)/[JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](https://bugs.openjdk.org/browse/JDK-8299635), > but the test wa

Re: RFR: 8298979: Remove duplicated serviceability/jvmti/thread/GetAllThreads/allthr01/allthr01.java [v2]

2023-01-26 Thread Leonid Mesnik
> PR adds fix "8284027: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is > failing" to new test and remove duplication. Leonid Mesnik has updated the pull request incrementally with two additional commits since the last revision: - cleanup - used get_thread_name - Changes: - a

RFR: 8298979: Remove duplicated serviceability/jvmti/thread/GetAllThreads/allthr01/allthr01.java

2023-01-26 Thread Leonid Mesnik
PR adds fix "8284027: vmTestbase/nsk/jvmti/GetAllThreads/allthr001/ is failing" to new test and remove duplication. - Commit messages: - cp - fix Changes: https://git.openjdk.org/jdk/pull/12240/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12240&range=00 Issue: https:/

Re: RFR: 8228604: StackMapFrames are missing from redefined class bytes of retransformed classes

2023-01-26 Thread Ioi Lam
On Fri, 27 Jan 2023 02:13:28 GMT, David Holmes wrote: > > I'd expect that at least java.util.Date and java.lang.ProcessBuilder have > > the same verification requirement. > > Generally speaking yes - they are both loaded by bootstrap loader and so > would both have verification disabled by def

Re: RFR: 8228604: StackMapFrames are missing from redefined class bytes of retransformed classes

2023-01-26 Thread David Holmes
On Wed, 25 Jan 2023 04:14:24 GMT, Alex Menkov wrote: >I'd expect that at least java.util.Date and java.lang.ProcessBuilder have the >same verification requirement. Generally speaking yes - they are both loaded by bootstrap loader and so would both have verification disabled by default. Bt as y

Re: RFR: JDK-8301077: Replace NULL with nullptr in share/services/ [v2]

2023-01-26 Thread Chris Plummer
On Thu, 26 Jan 2023 15:02:54 GMT, Johan Sjölen wrote: >> Do the conversion in the share/services/ sub-directory and all of its files. > > Johan Sjölen has updated the pull request incrementally with one additional > commit since the last revision: > > plummercj's fixes Marked as reviewed by

Re: RFR: 8291555: Implement alternative fast-locking scheme [v5]

2023-01-26 Thread Daniel D . Daugherty
On Thu, 26 Jan 2023 12:34:18 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

[jdk20] Integrated: 8300719: JDK 20 RDP2 L10n resource files update

2023-01-26 Thread Damon Nguyen
On Tue, 24 Jan 2023 20:50:00 GMT, Damon Nguyen wrote: > Open l10n drop. Files have been updated with translated versions. Whitespace > tool has been ran on files. > All tests passed This pull request has now been integrated. Changeset: a67b1e77 Author:Damon Nguyen Committer: Naoto Sato U

Re: RFR: 8301132: Test update for deprecated sprintf in Xcode 14

2023-01-26 Thread Mikael Vidstedt
On Thu, 26 Jan 2023 06:38:00 GMT, Xue-Lei Andrew Fan wrote: > The sprintf is deprecated in Xcode 14 because of security concerns. The issue > was addressed in > [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812)/[JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](ht

Integrated: JDK-8301070: Replace NULL with nullptr in share/memory/

2023-01-26 Thread Johan Sjölen
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen wrote: > Hi, this PR changes all occurrences of NULL to nullptr for the subdirectory > share/memory/. Unfortunately the script that does the change isn't perfect, > and so we > need to comb through these manually to make sure nothing has gone wrong

Re: RFR: JDK-8301076: Replace NULL with nullptr in share/prims/

2023-01-26 Thread Johan Sjölen
On Thu, 26 Jan 2023 16:11:14 GMT, Johan Sjölen wrote: >> Hi, this PR changes all occurrences of NULL to nullptr for the subdirectory >> share/prims/. Unfortunately the script that does the change isn't perfect, >> and so we >> need to comb through these manually to make sure nothing has gone wr

RFR: JDK-8301076: Replace NULL with nullptr in share/prims/

2023-01-26 Thread Johan Sjölen
Hi, this PR changes all occurrences of NULL to nullptr for the subdirectory share/prims/. Unfortunately the script that does the change isn't perfect, and so we need to comb through these manually to make sure nothing has gone wrong. I also review these changes but things slip past my eyes somet

Re: RFR: JDK-8301076: Replace NULL with nullptr in share/prims/

2023-01-26 Thread Johan Sjölen
On Wed, 25 Jan 2023 11:47:05 GMT, Johan Sjölen wrote: > Hi, this PR changes all occurrences of NULL to nullptr for the subdirectory > share/prims/. Unfortunately the script that does the change isn't perfect, > and so we > need to comb through these manually to make sure nothing has gone wrong.

Re: RFR: JDK-8301070: Replace NULL with nullptr in share/memory/ [v2]

2023-01-26 Thread Johan Sjölen
> Hi, this PR changes all occurrences of NULL to nullptr for the subdirectory > share/memory/. Unfortunately the script that does the change isn't perfect, > and so we > need to comb through these manually to make sure nothing has gone wrong. I > also review these changes but things slip past my

Re: RFR: JDK-8301070: Replace NULL with nullptr in share/memory/ [v2]

2023-01-26 Thread Johan Sjölen
On Thu, 26 Jan 2023 15:04:06 GMT, Johan Sjölen wrote: >> src/hotspot/share/memory/metaspace/blockTree.hpp line 228: >> >>> 226: DEBUG_ONLY(check_node(insertion_point);) >>> 227: if (n->_word_size == insertion_point->_word_size) { >>> 228: add_to_list(n, insertion_point); // p

Re: RFR: JDK-8301070: Replace NULL with nullptr in share/memory/ [v2]

2023-01-26 Thread Johan Sjölen
On Thu, 26 Jan 2023 09:48:06 GMT, Thomas Stuefe wrote: >Small nit. Do we have a unified naming scheme for comments? Yeah, I forgot to update the PR message with all of the info. If you check now you can see what's been decided upon. The discussions can be found in previous PRs, I can link to t

Re: RFR: JDK-8301077: Replace NULL with nullptr in share/services/ [v2]

2023-01-26 Thread Johan Sjölen
On Wed, 25 Jan 2023 18:30:00 GMT, Chris Plummer wrote: >> Johan Sjölen has updated the pull request incrementally with one additional >> commit since the last revision: >> >> plummercj's fixes > > Changes requested by cjplummer (Reviewer). Thanks @plummercj , I've pushed your fixes. ---

Re: RFR: JDK-8301077: Replace NULL with nullptr in share/services/ [v2]

2023-01-26 Thread Johan Sjölen
> Do the conversion in the share/services/ sub-directory and all of its files. Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision: plummercj's fixes - Changes: - all: https://git.openjdk.org/jdk/pull/12189/files - new: h

Re: RFR: 8291555: Implement alternative fast-locking scheme [v4]

2023-01-26 Thread Robbin Ehn
On Thu, 19 Jan 2023 12:09:27 GMT, Roman Kennke wrote: > > I always change the flags in code for the reasons David state and I can't > > forget to add any flags. > > (Test batch is stilling running, no failures except > > MonitorInflationTest.java) > > Ok, right. > > I just re-ran tier1-3 with

Integrated: 8300913: ZGC: assert(to_addr != 0) failed: Should be forwarded

2023-01-26 Thread Coleen Phillimore
On Wed, 25 Jan 2023 15:56:49 GMT, Coleen Phillimore wrote: > We thought we didn't need the keep-alive call but we do for heap walking. > Tested with failing test case locally, and tier1-4 in progress. This pull request has now been integrated. Changeset: 3f633814 Author:Coleen Phillimore U

Re: RFR: 8300913: ZGC: assert(to_addr != 0) failed: Should be forwarded

2023-01-26 Thread Coleen Phillimore
On Wed, 25 Jan 2023 15:56:49 GMT, Coleen Phillimore wrote: > We thought we didn't need the keep-alive call but we do for heap walking. > Tested with failing test case locally, and tier1-4 in progress. Thanks Erik and Robbin! - PR: https://git.openjdk.org/jdk/pull/12202

Re: RFR: 8300913: ZGC: assert(to_addr != 0) failed: Should be forwarded

2023-01-26 Thread Robbin Ehn
On Wed, 25 Jan 2023 15:56:49 GMT, Coleen Phillimore wrote: > We thought we didn't need the keep-alive call but we do for heap walking. > Tested with failing test case locally, and tier1-4 in progress. Thanks! - Marked as reviewed by rehn (Reviewer). PR: https://git.openjdk.org/jdk

Re: RFR: 8291555: Implement alternative fast-locking scheme [v5]

2023-01-26 Thread Roman Kennke
> This change adds a fast-locking scheme as an alternative to the current > stack-locking implementation. It retains the advantages of stack-locking > (namely fast locking in uncontended code-paths), while avoiding the overload > of the mark word. That overloading causes massive problems with Li

Re: RFR: 8300810: Get rid of unused JDI removeListener() methods

2023-01-26 Thread Kevin Walls
On Mon, 23 Jan 2023 20:58:20 GMT, Chris Plummer wrote: > Remove removeListener() methods. They are not called. Marked as reviewed by kevinw (Committer). - PR: https://git.openjdk.org/jdk/pull/12151

RFR: 8301132: Test update for deprecated sprintf in Xcode 14

2023-01-26 Thread Xue-Lei Andrew Fan
The sprintf is deprecated in Xcode 14 because of security concerns. The issue was addressed in [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812)/[JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](https://bugs.openjdk.org/browse/JDK-8299635), but the test was not fu

Re: RFR: JDK-8301070: Replace NULL with nullptr in share/memory/

2023-01-26 Thread Thomas Stuefe
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen wrote: > Do the conversion in the share/memory/ sub-directory and all of its files. Metaspace changes are good. src/hotspot/share/memory/metaspace/blockTree.hpp line 228: > 226: DEBUG_ONLY(check_node(insertion_point);) > 227: if (n->_w

Re: RFR: JDK-8301070: Replace NULL with nullptr in share/memory/

2023-01-26 Thread Stefan Karlsson
On Wed, 25 Jan 2023 11:45:47 GMT, Johan Sjölen wrote: > Do the conversion in the share/memory/ sub-directory and all of its files. Marked as reviewed by stefank (Reviewer). src/hotspot/share/memory/guardedMemory.hpp line 196: > 194:*/ > 195: void* wrap_with_guards(void* base_ptr, size_t