Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Andrew John Hughes
On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes wrote: > GHA regularly breaks because we specify a very explicit GCC version, even > down to the release versioning of the Ubuntu package. In just this last > week, it has caused issues with the testing of PRs on 11u >

Integrated: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Andrew John Hughes
On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes wrote: > GHA regularly breaks because we specify a very explicit GCC version, even > down to the release versioning of the Ubuntu package. In just this last > week, it has caused issues with the testing of PRs on 11u >

RFR: 8314555: Build with mawk fails on Windows

2023-08-22 Thread Koichi Sakata
Building JDK with mawk on windows fails due to regular expression. I use WSL Debian. Debian has mawk as the default awk implementation. $ awk Usage: mawk [Options] [Program] [file ...] $ make images Building target 'images' in configuration 'windows-x86_64-server-fastdebug' ... nawk: line 1:

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Sergey Bylokhov
On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes wrote: > GHA regularly breaks because we specify a very explicit GCC version, even > down to the release versioning of the Ubuntu package. In just this last > week, it has caused issues with the testing of PRs on 11u >

Re: RFR: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Andrew John Hughes
On Tue, 22 Aug 2023 13:01:03 GMT, Erik Joelsson wrote: > > I did notice that this is set for the riscv64 build in > > `make/conf/jib-profiles.js` > > This configuration only exists to verify that the build works. We don't > currently use the binaries for anything. Using "bundled" made devkit

Re: RFR: 8314644: Change "Rvalue references and move semantics" into an accepted feature

2023-08-22 Thread Johan Sjölen
On Tue, 22 Aug 2023 12:16:49 GMT, Johan Sjölen wrote: > Hi, > > I'd like to propose that rvalue references and move semantics are now > considered permitted in the style guide. This change would allow for move > constructors to be written. This enables more performant code, if the move > ctr

Re: RFR: 8313961: Enhance identification of special serialization methods [v2]

2023-08-22 Thread Joe Darcy
On Mon, 21 Aug 2023 16:57:57 GMT, Raffaello Giulietti wrote: >> src/java.base/share/classes/java/io/ObjectStreamClass.java line 1670: >> >>> 1668: ObjectStreamField[] serialPersistentFields = null; >>> 1669: try { >>> 1670: Field f = getDeclaredField(cl,

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Erik Joelsson
On Tue, 22 Aug 2023 13:35:18 GMT, Volker Simonis wrote: > Maybe we could use > [devkits](https://github.com/openjdk/jdk/blob/master/doc/building.md#cross-compiling-the-easy-way-with-openjdk-devkits) > to pin the compiler version? I'm not sure how feasible that is in the GHA > context. It

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Andrew John Hughes
On Tue, 22 Aug 2023 13:35:18 GMT, Volker Simonis wrote: > In principle I very much prefer locking down dependency versions to keep the > build as reliable as possible. Unfortunately, as we have experienced so far, > this isn't possible with GHA because the exact package versions aren't kept >

Re: RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note [v2]

2023-08-22 Thread Pavel Rappo
On Tue, 22 Aug 2023 14:55:18 GMT, Pavel Rappo wrote: >> Please review this trivial PR. > > Pavel Rappo has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains two commits: > > - Merge branch 'master' into 8314753 > - Initial commit

Re: RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note [v2]

2023-08-22 Thread Roger Riggs
On Tue, 22 Aug 2023 14:55:18 GMT, Pavel Rappo wrote: >> Please review this trivial PR. > > Pavel Rappo has updated the pull request with a new target base due to a > merge or a rebase. The pull request now contains two commits: > > - Merge branch 'master' into 8314753 > - Initial commit

Re: RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note [v2]

2023-08-22 Thread Pavel Rappo
> Please review this trivial PR. Pavel Rappo has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits: - Merge branch 'master' into 8314753 - Initial commit - Changes: https://git.openjdk.org/jdk/pull/15385/files

Re: RFR: 8314656: GHA: No need for Debian ports keyring installation after JDK-8313701 [v3]

2023-08-22 Thread Aleksey Shipilev
> There is no need for keyring installation after > [JDK-8313701](https://bugs.openjdk.org/browse/JDK-8313701). We can simplify > that part to reduce the difference between different JDK releases. > > Additional testing: > - [ ] GHA Aleksey Shipilev has updated the pull request with a new

Integrated: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Aleksey Shipilev
On Tue, 22 Aug 2023 06:49:21 GMT, Aleksey Shipilev wrote: > Current GHA bootstraps fail for some arches with the incompatibility between > libfreetype-dev and libfreetype6-dev. Current RISC-V GHA bootstrap fails due > to this conflict. > > In both sid, bullseye, jammy, libfreetype6-dev is a

Re: RFR: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Aleksey Shipilev
On Tue, 22 Aug 2023 06:49:21 GMT, Aleksey Shipilev wrote: > Current GHA bootstraps fail for some arches with the incompatibility between > libfreetype-dev and libfreetype6-dev. Current RISC-V GHA bootstrap fails due > to this conflict. > > In both sid, bullseye, jammy, libfreetype6-dev is a

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Volker Simonis
On Tue, 22 Aug 2023 13:09:21 GMT, Erik Joelsson wrote: > In principle I very much prefer locking down dependency versions to keep the > build as reliable as possible. Unfortunately, as we have experienced so far, > this isn't possible with GHA because the exact package versions aren't kept >

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Erik Joelsson
On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes wrote: > GHA regularly breaks because we specify a very explicit GCC version, even > down to the release versioning of the Ubuntu package. In just this last > week, it has caused issues with the testing of PRs on 11u >

Re: RFR: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Erik Joelsson
On Tue, 22 Aug 2023 12:08:46 GMT, Andrew John Hughes wrote: > I did notice that this is set for the riscv64 build in > `make/conf/jib-profiles.js` This configuration only exists to verify that the build works. We don't currently use the binaries for anything. Using "bundled" made devkit

Integrated: 8314738: Remove all occurrences of and support for @revised

2023-08-22 Thread Pavel Rappo
On Tue, 22 Aug 2023 08:42:32 GMT, Pavel Rappo wrote: > Please review this simple PR. This pull request has now been integrated. Changeset: f39fc0aa Author:Pavel Rappo URL: https://git.openjdk.org/jdk/commit/f39fc0aa2de19332fa51af605ece0660891d8c7a Stats: 124 lines in 28 files

Re: RFR: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Erik Joelsson
On Tue, 22 Aug 2023 06:49:21 GMT, Aleksey Shipilev wrote: > Current GHA bootstraps fail for some arches with the incompatibility between > libfreetype-dev and libfreetype6-dev. Current RISC-V GHA bootstrap fails due > to this conflict. > > In both sid and bullseye, libfreetype6-dev is a

Re: RFR: 8314738: Remove all occurrences of and support for @revised

2023-08-22 Thread Mark Reinhold
On Tue, 22 Aug 2023 08:42:32 GMT, Pavel Rappo wrote: > Please review this simple PR. You can leave the copyright years as-is. - PR Comment: https://git.openjdk.org/jdk/pull/15382#issuecomment-1688104170

Re: RFR: 8314738: Remove all occurrences of and support for @revised

2023-08-22 Thread Mark Reinhold
On Tue, 22 Aug 2023 08:42:32 GMT, Pavel Rappo wrote: > Please review this simple PR. Removing `@revised` tags is not a substantive change, so I wouldn’t update the copyright year as you have in some of these files. Otherwise, this looks fine. - Marked as reviewed by mr (Lead).

Re: RFR: 8314738: Remove all occurrences of and support for @revised

2023-08-22 Thread Pavel Rappo
On Tue, 22 Aug 2023 12:23:18 GMT, Mark Reinhold wrote: > I wouldn’t update the copyright year as you have in some of these files. I was taught to do it every time when I change a file. Would you like me to revert those changes to copyright years in this case? - PR Comment:

RFR: 8314762: Make {@Incubating} conventional

2023-08-22 Thread Pavel Rappo
Please review this trivial PR. - Commit messages: - Initial commit Changes: https://git.openjdk.org/jdk/pull/15387/files Webrev: https://webrevs.openjdk.org/?repo=jdk=15387=00 Issue: https://bugs.openjdk.org/browse/JDK-8314762 Stats: 6 lines in 3 files changed: 0 ins; 0 del; 6

RFR: 8314644: Change "Rvalue references and move semantics" into an accepted feature

2023-08-22 Thread Johan Sjölen
Hi, I'd like to propose that rvalue references and move semantics are now considered permitted in the style guide. This change would allow for move constructors to be written. This enables more performant code, if the move ctr is less expensive than the copy ctr, but also more correct code.

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Andrew John Hughes
On Tue, 22 Aug 2023 07:30:15 GMT, Aleksey Shipilev wrote: > This looks okay. > Thanks. > That said, it is rather unnatural to forward-port the patches. Next time, I > would like to see a clean mainline RFE, which would then be cleanly > backported to each of the JDK updates trees. Agreed.

Re: RFR: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Andrew John Hughes
On Tue, 22 Aug 2023 06:49:21 GMT, Aleksey Shipilev wrote: > Current GHA bootstraps fail for some arches with the incompatibility between > libfreetype-dev and libfreetype6-dev. libfreetype6-dev. Current RISC-V GHA > bootstrap fails due to this conflict. > > In both sid and bullseye and sid,

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Volker Simonis
Aleksey Shipilev schrieb am Di., 22. Aug. 2023, 09:33: > On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes > wrote: > > > GHA regularly breaks because we specify a very explicit GCC version, > even down to the release versioning of the Ubuntu package. In just this > last week, it has caused

Re: RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note

2023-08-22 Thread Pavel Rappo
On Tue, 22 Aug 2023 11:09:39 GMT, Pavel Rappo wrote: > Please review this trivial PR. CC'ing client-libs-dev because @beaninfo and @Note and jmx-dev because of @since.unbundled, which might've been used for JMX before 2007. - PR Comment:

Re: RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note

2023-08-22 Thread Pavel Rappo
On Tue, 22 Aug 2023 11:09:39 GMT, Pavel Rappo wrote: > Please review this trivial PR. CC'ing core-libs-dev whose members might also have some recollection on tags in question. - PR Comment: https://git.openjdk.org/jdk/pull/15385#issuecomment-1687995105

Re: RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note

2023-08-22 Thread Pavel Rappo
On Tue, 22 Aug 2023 11:09:39 GMT, Pavel Rappo wrote: > Please review this trivial PR. CC'ing client-libs-dev because `@beaninfo` and `@Note` and jmx-dev because of `@since.unbundled`, which might've been used for JMX before 2007. - PR Comment:

RFR: 8314753: Remove support for @beaninfo, @ToDo, @since.unbundled, and @Note

2023-08-22 Thread Pavel Rappo
Please review this trivial PR. - Commit messages: - Initial commit Changes: https://git.openjdk.org/jdk/pull/15385/files Webrev: https://webrevs.openjdk.org/?repo=jdk=15385=00 Issue: https://bugs.openjdk.org/browse/JDK-8314753 Stats: 4 lines in 1 file changed: 0 ins; 4 del; 0

RFR: 8314730: GHA: Drop libfreetype6-dev transitional package in favor of libfreetype-dev

2023-08-22 Thread Aleksey Shipilev
Current GHA bootstraps fail for some arches with the incompatibility between libfreetype-dev and libfreetype6-dev. libfreetype6-dev. Current RISC-V GHA bootstrap fails due to this conflict. In both sid and bullseye and sid, libfreetype6-dev is a transitional package:

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Aleksey Shipilev
On Tue, 22 Aug 2023 08:47:32 GMT, Thomas Stuefe wrote: > Looks good. > > Anyone knows whats up with riscv64, though? It worked on my GHA run from this > morning > https://github.com/openjdk/jdk/pull/15041/checks?check_run_id=16096790652 It's #15378, manifests in official Debian repository.

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events [v4]

2023-08-22 Thread Alan Bateman
On Wed, 28 Jun 2023 18:53:12 GMT, Tim Prinzing wrote: >> The socket read/write JFR events currently use instrumentation of java.base >> code using templates in the jdk.jfr modules. This results in some java.base >> code residing in the jdk.jfr module which is undesirable. >> >> JDK19 added

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Thomas Stuefe
On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes wrote: > GHA regularly breaks because we specify a very explicit GCC version, even > down to the release versioning of the Ubuntu package. In just this last > week, it has caused issues with the testing of PRs on 11u >

RFR: 8314738: Remove all occurrences of and support for @revised

2023-08-22 Thread Pavel Rappo
Please review this simple PR. - Commit messages: - Initial commit Changes: https://git.openjdk.org/jdk/pull/15382/files Webrev: https://webrevs.openjdk.org/?repo=jdk=15382=00 Issue: https://bugs.openjdk.org/browse/JDK-8314738 Stats: 124 lines in 28 files changed: 0 ins; 116

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events [v4]

2023-08-22 Thread Erik Gahlin
On Wed, 28 Jun 2023 18:53:12 GMT, Tim Prinzing wrote: >> The socket read/write JFR events currently use instrumentation of java.base >> code using templates in the jdk.jfr modules. This results in some java.base >> code residing in the jdk.jfr module which is undesirable. >> >> JDK19 added

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events [v4]

2023-08-22 Thread Alan Bateman
On Tue, 27 Jun 2023 18:29:45 GMT, Tim Prinzing wrote: >> src/java.base/share/classes/sun/nio/ch/SocketChannelImpl.java line 408: >> >>> 406: @Override >>> 407: public int read(ByteBuffer buf) throws IOException { >>> 408: if (!SocketReadEvent.enabled()) { >> >> The read/write

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events [v3]

2023-08-22 Thread Alan Bateman
On Wed, 28 Jun 2023 06:09:14 GMT, Alan Bateman wrote: >> Tim Prinzing has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains ten commits: >> >> - remove unused SOCKET_READ and SOCKET_WRITE configurations. >> - Merge branch 'master'

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events

2023-08-22 Thread Alan Bateman
On Thu, 22 Jun 2023 13:39:51 GMT, Erik Gahlin wrote: > An exception event will be emitted. The event is disabled by default, but > there is ongoing work on a throttling mechanism, so it can be always-on. Good, I think the exception cases are probably the most interesting for this area when it

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events [v4]

2023-08-22 Thread Alan Bateman
On Wed, 28 Jun 2023 18:53:12 GMT, Tim Prinzing wrote: >> The socket read/write JFR events currently use instrumentation of java.base >> code using templates in the jdk.jfr modules. This results in some java.base >> code residing in the jdk.jfr module which is undesirable. >> >> JDK19 added

Re: RFR: 8308995: Update Network IO JFR events to be static mirror events [v4]

2023-08-22 Thread Alan Bateman
On Wed, 2 Aug 2023 20:09:39 GMT, Alan Bateman wrote: > https://bugs.openjdk.org/browse/JDK-8310979 - better exception handling > https://bugs.openjdk.org/browse/JDK-8310978 - missing code paths for event > generation https://bugs.openjdk.org/browse/JDK-8310994 - non-blocking, event > for

Re: RFR: 8284772: GHA: Use GCC Major Version Dependencies Only

2023-08-22 Thread Aleksey Shipilev
On Tue, 22 Aug 2023 02:14:54 GMT, Andrew John Hughes wrote: > GHA regularly breaks because we specify a very explicit GCC version, even > down to the release versioning of the Ubuntu package. In just this last > week, it has caused issues with the testing of PRs on 11u >