Re: RFR: 8317132: Prepare HotSpot for permissive- [v10]

2023-10-31 Thread Julian Waters
> Prepare HotSpot for the permissive- Visual C++ flag, this change contains all > of the fixes required for HotSpot to compile under the stricter mode > activated when the permissive- flag is passed > > - Reworks code in topLevelUnhandledExceptionFilter for os_windows.cpp to > avoid goto

Re: RFR: JDK-8296240: Augment discussion of test tiers in doc/testing.md [v5]

2023-10-31 Thread Leonid Mesnik
On Tue, 31 Oct 2023 16:12:21 GMT, Joe Darcy wrote: >> doc/testing.md line 147: >> >>> 145: manner. >>> 146: As a guideline, nearly all individual tests in `tier1` should >>> complete in less than ten seconds >>> 147: when run on common configurations used for development. Long-running

Integrated: JDK-8306980: Generated docs should contain correct Legal Documents

2023-10-31 Thread Jonathan Gibbons
On Wed, 25 Oct 2023 23:06:59 GMT, Jonathan Gibbons wrote: > Please review an update to the way that `javadoc` handles the default legal > notices when generating docs. > > Previously, the default notices were taken from the module's `legal` > directory (`$JAVA_HOME/legal/jdk.javadoc`), but in

Re: RFR: JDK-8306980: Generated docs should contain correct Legal Documents [v3]

2023-10-31 Thread Mandy Chung
On Tue, 31 Oct 2023 20:58:04 GMT, Jonathan Gibbons wrote: >> Please review an update to the way that `javadoc` handles the default legal >> notices when generating docs. >> >> Previously, the default notices were taken from the module's `legal` >> directory (`$JAVA_HOME/legal/jdk.javadoc`),

Re: RFR: JDK-8306980: Generated docs should contain correct Legal Documents [v3]

2023-10-31 Thread Jonathan Gibbons
> Please review an update to the way that `javadoc` handles the default legal > notices when generating docs. > > Previously, the default notices were taken from the module's `legal` > directory (`$JAVA_HOME/legal/jdk.javadoc`), but in some contexts, these files > were either symbolic links,

Re: RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Hamlin Li
On Tue, 31 Oct 2023 13:05:44 GMT, Robbin Ehn wrote: > Hi, please consider. > > insn_options[0] is set to empty string if there is no options (NULL or empty > strings). > Checking it for empty string should cover both cases, caller option is NULL > or caller option is empty string. > > Tested

Re: RFR: JDK-8306980: Generated docs should contain correct Legal Documents [v2]

2023-10-31 Thread Jonathan Gibbons
On Mon, 30 Oct 2023 21:43:11 GMT, Mandy Chung wrote: >> Jonathan Gibbons has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Address review feedback > > src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/HtmlDoclet.java

Re: RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Andrew Haley
On Tue, 31 Oct 2023 14:42:22 GMT, Robbin Ehn wrote: >> The parse_caller_options handles the NULL case, so I forgot about the early >> bailout. >> >> for (p = caller_options; p != NULL; ) { >> } >> *iop = '\0'; >> >> >> Sorry. > > Sorry again, long day: > > struct hsdis_app_data

Re: RFR: JDK-8296240: Augment discussion of test tiers in doc/testing.md [v5]

2023-10-31 Thread Joe Darcy
On Tue, 31 Oct 2023 07:05:47 GMT, Alan Bateman wrote: >> Joe Darcy has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Initial check-in of updated HTML file. > > doc/testing.md line 147: > >> 145: manner. >> 146: As a guideline, nearly

Re: RFR: JDK-8296240: Augment discussion of test tiers in doc/testing.md [v6]

2023-10-31 Thread Joe Darcy
> Clarify the intention of tier 1 tests. I'll reflow the paragraph and > regenerate the HTML file once the wording is agreed upon. Joe Darcy has updated the pull request incrementally with one additional commit since the last revision: Update wording. - Changes: - all:

Re: RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Robbin Ehn
On Tue, 31 Oct 2023 14:30:26 GMT, Robbin Ehn wrote: >> src/utils/hsdis/binutils/hsdis-binutils.c line 340: >> >>> 338: native_bfd, >>> 339: /* On some archs we get warnings, if >>> we pass empty options */ >>> 340:

Re: RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Robbin Ehn
On Tue, 31 Oct 2023 14:30:26 GMT, Robbin Ehn wrote: >> src/utils/hsdis/binutils/hsdis-binutils.c line 340: >> >>> 338: native_bfd, >>> 339: /* On some archs we get warnings, if >>> we pass empty options */ >>> 340:

Re: RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Robbin Ehn
On Tue, 31 Oct 2023 14:15:16 GMT, Andrew Haley wrote: >> Hi, please consider. >> >> insn_options[0] is set to empty string if there is no options (NULL or empty >> strings). >> Checking it for empty string should cover both cases, caller option is NULL >> or caller option is empty string. >>

Re: RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Andrew Haley
On Tue, 31 Oct 2023 13:05:44 GMT, Robbin Ehn wrote: > Hi, please consider. > > insn_options[0] is set to empty string if there is no options (NULL or empty > strings). > Checking it for empty string should cover both cases, caller option is NULL > or caller option is empty string. > > Tested

RFR: 8319165: hsdis binutils: warns on empty string as option string

2023-10-31 Thread Robbin Ehn
Hi, please consider. insn_options[0] is set to empty string if there is no options (NULL or empty strings). Checking it for empty string should cover both cases, caller option is NULL or caller option is empty string. Tested hsdis no longer gives me the warning. - Commit

Re: RFR: 8319121: hsdis binutils: speedup building from source

2023-10-31 Thread Robbin Ehn
On Tue, 31 Oct 2023 12:53:56 GMT, Erik Joelsson wrote: > > I think you are correct, I tested on some more machines. > > On my vf2 dev board (4-core rv64) it do speed up sh configure, from 7:19 to > > 3:40. I see like 20 instances of cc1 instead 1, a bit to many :) > > Adding the `-j` flag

Re: RFR: 8319121: hsdis binutils: speedup building from source

2023-10-31 Thread Erik Joelsson
On Tue, 31 Oct 2023 06:39:55 GMT, Robbin Ehn wrote: > I think you are correct, I tested on some more machines. > > On my vf2 dev board (4-core rv64) it do speed up sh configure, from 7:19 to > 3:40. I see like 20 instances of cc1 instead 1, a bit to many :) Adding the `-j` flag without a

Re: RFR: 8317132: Prepare HotSpot for permissive- [v9]

2023-10-31 Thread Julian Waters
On Tue, 31 Oct 2023 07:32:35 GMT, Kim Barrett wrote: >> I know he was away until October but not exactly when in October. > > Ick! I hadn't followed https://github.com/openjdk/jdk/pull/15096 closely, so > hadn't noticed the discussion there. Not sure why this is using a literal 0 > rather than

Re: RFR: 8317132: Prepare HotSpot for permissive- [v9]

2023-10-31 Thread Kim Barrett
On Tue, 3 Oct 2023 07:45:42 GMT, David Holmes wrote: >> Is Thomas around? Would like to get his opinion of what to do with this >> particular snippet > > I know he was away until October but not exactly when in October. Ick! I hadn't followed https://github.com/openjdk/jdk/pull/15096 closely,

Re: RFR: JDK-8296240: Augment discussion of test tiers in doc/testing.md [v5]

2023-10-31 Thread Alan Bateman
On Tue, 31 Oct 2023 00:23:44 GMT, Joe Darcy wrote: >> Clarify the intention of tier 1 tests. I'll reflow the paragraph and >> regenerate the HTML file once the wording is agreed upon. > > Joe Darcy has updated the pull request incrementally with one additional > commit since the last revision:

Re: RFR: 8319121: hsdis binutils: speedup building from source

2023-10-31 Thread Robbin Ehn
On Mon, 30 Oct 2023 15:41:48 GMT, Robbin Ehn wrote: > Hi all, please consider. > > Tested configure with binutils-src. > > Thanks I think you are correct, I tested on some more machines. On my vf2 dev board (4-core rv64) it do speed up sh configure, from 7:19 to 3:40. I see like 20

Withdrawn: 8319121: hsdis binutils: speedup building from source

2023-10-31 Thread Robbin Ehn
On Mon, 30 Oct 2023 15:41:48 GMT, Robbin Ehn wrote: > Hi all, please consider. > > Tested configure with binutils-src. > > Thanks This pull request has been closed without being integrated. - PR: https://git.openjdk.org/jdk/pull/16421