Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Nick Gasson
On Thu, 10 Dec 2020 10:47:48 GMT, Andrew Haley wrote: >> Should we have a separate RegSet type for FloatRegisters to avoid mixing >> them up? > > Absolutely. I'd make an AbstractRegSet and use it as a base type > for both RegSet and FloatRegSet, then we can get rid of the casts > altogether.

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Nick Gasson
On Thu, 10 Dec 2020 13:45:21 GMT, Jorn Vernee wrote: >> Nick Gasson has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Review comments > > src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp line 3104: > >> 3102:

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v3]

2020-12-10 Thread Nick Gasson
> This is more-or-less a straight port of the x86 code to AArch64. > GraphKit::make_native_call() calls SharedRuntime::make_native_invoker() > to generate a blob that jumps to the native function entry point. This > simply switches the thread state from Java to native and handles the > safepoint

Withdrawn: 8255917: runtime/cds/SharedBaseAddress.java failed "assert(reserved_rgn != 0LL) failed: No reserved region"

2020-12-10 Thread Yumin Qi
On Mon, 7 Dec 2020 05:01:27 GMT, Yumin Qi wrote: > Hi, Please review > Windows mapping for file into memory could not happen to reserved memory. > In mapping CDS archive we first reserve enough memory then before mapping, > release them. For cds archive and using class space, need split the

Re: RFR: 8255917: runtime/cds/SharedBaseAddress.java failed "assert(reserved_rgn != 0LL) failed: No reserved region" [v5]

2020-12-10 Thread Yumin Qi
On Tue, 8 Dec 2020 06:12:36 GMT, Yumin Qi wrote: >> Changes requested by iklam (Reviewer). > > Please check 03. 02 is generated when merge with most current and remote head > not updated correctly. After set remote head correct, 03 is regenerated and > is correct one for review. Thanks This

Re: [jdk16] RFR: 8257598: Clarify what component values are used in Record::equals

2020-12-10 Thread Joe Darcy
On Fri, 11 Dec 2020 05:02:25 GMT, Vicente Romero wrote: > Please review this patch which modifies the spec for method > java.lang.Record::equals. It states that the implementation of this method > should use the record fields for the comparison instead of the accessors. > > TIA, > Vicente

Re: RFR: 8255917: runtime/cds/SharedBaseAddress.java failed "assert(reserved_rgn != 0LL) failed: No reserved region" [v5]

2020-12-10 Thread Yumin Qi
> Hi, Please review > Windows mapping for file into memory could not happen to reserved memory. > In mapping CDS archive we first reserve enough memory then before mapping, > release them. For cds archive and using class space, need split the whole > space into two, that is, release the whole

Re: RFR: 8257598: Clarify what component values are used in Record::equals

2020-12-10 Thread Vicente Romero
On Fri, 11 Dec 2020 02:07:50 GMT, Vicente Romero wrote: > Please review this patch which modifies the spec for method > java.lang.Record::equals. It states that the implementation of this method > should use the record fields for the comparison instead of the accessors. > > TIA, > Vicente >

[jdk16] RFR: 8257598: Clarify what component values are used in Record::equals

2020-12-10 Thread Vicente Romero
Please review this patch which modifies the spec for method java.lang.Record::equals. It states that the implementation of this method should use the record fields for the comparison instead of the accessors. TIA, Vicente - Commit messages: - 8257598: Clarify what component

Withdrawn: 8257598: Clarify what component values are used in Record::equals

2020-12-10 Thread Vicente Romero
On Fri, 11 Dec 2020 02:07:50 GMT, Vicente Romero wrote: > Please review this patch which modifies the spec for method > java.lang.Record::equals. It states that the implementation of this method > should use the record fields for the comparison instead of the accessors. > > TIA, > Vicente

Re: RFR: 8257598: Clarify what component values are used in Record::equals

2020-12-10 Thread Joe Darcy
If this is meant for JDK 16, it is easier overall if PR is done against the JDK 16 repo. -Joe On 12/10/2020 6:13 PM, Vicente Romero wrote: Please review this patch which modifies the spec for method java.lang.Record::equals. It states that the implementation of this method should use the

RFR: 8257598: Clarify what component values are used in Record::equals

2020-12-10 Thread Vicente Romero
Please review this patch which modifies the spec for method java.lang.Record::equals. It states that the implementation of this method should use the record fields for the comparison instead of the accessors. TIA, Vicente - Commit messages: - Merge branch 'master' into

Re: RFR: 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST [v2]

2020-12-10 Thread Joe Wang
On Fri, 11 Dec 2020 01:25:48 GMT, Naoto Sato wrote: >> src/java.base/windows/classes/sun/util/locale/provider/HostLocaleProviderAdapterImpl.java >> line 78: >> >>> 76: // CalendarData value types >>> 77: private static final int CD_FIRSTDAYOFWEEK = 0; >>> 78: private static final

Re: RFR: 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST [v2]

2020-12-10 Thread Naoto Sato
On Fri, 11 Dec 2020 00:15:49 GMT, Joe Wang wrote: >> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Added comment for LOCALE_IFIRSTWEEKOFYEAR Windows return values > >

Re: RFR: 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST [v2]

2020-12-10 Thread Naoto Sato
> Hello, > > Please review the changes to the subject issue. getMinimalDaysInFirstWeek() > for Windows has been implemented to suffice the bug claim. Naoto Sato has updated the pull request incrementally with one additional commit since the last revision: Added comment for

Integrated: 8247402: Documentation for Map::compute contains confusing implementation requirements

2020-12-10 Thread John Lin
On Sat, 17 Oct 2020 02:50:28 GMT, John Lin wrote: > This is from the mailing list: > http://mail.openjdk.java.net/pipermail/core-libs-dev/2020-June/067190.html > > - > ### Progress > - [x] Change must not contain extraneous whitespace > - [x] Commit message must refer to an issue > -

Re: RFR: 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST

2020-12-10 Thread Joe Wang
On Thu, 10 Dec 2020 21:12:29 GMT, Naoto Sato wrote: > Hello, > > Please review the changes to the subject issue. getMinimalDaysInFirstWeek() > for Windows has been implemented to suffice the bug claim. Looks good to me. Some minor comments below.

Re: RFR: 8247402: Documentation for Map::compute contains confusing implementation requirements [v2]

2020-12-10 Thread John Lin
On Thu, 10 Dec 2020 17:59:03 GMT, Martin Buchholz wrote: >> John Lin has updated the pull request with a new target base due to a merge >> or a rebase. The pull request now contains one commit: >> >> 8247402: Documentation for Map::compute contains confusing implementation >> requirements >

Re: RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array [v3]

2020-12-10 Thread Brian Burkhalter
> Please review this small verbiage change to specify clearly the behavior of > `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of > `Reader::read(char[] cbuf, int off, int len)` when `len` is zero. Brian Burkhalter has updated the pull request incrementally with one

Re: RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array [v2]

2020-12-10 Thread Brian Burkhalter
On Thu, 10 Dec 2020 23:12:57 GMT, Naoto Sato wrote: >> Brian Burkhalter has updated the pull request with a new target base due to >> a merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains five additional >>

Re: RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array [v2]

2020-12-10 Thread Brian Burkhalter
> Please review this small verbiage change to specify clearly the behavior of > `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of > `Reader::read(char[] cbuf, int off, int len)` when `len` is zero. Brian Burkhalter has updated the pull request with a new target base due

Re: RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array

2020-12-10 Thread Naoto Sato
On Thu, 10 Dec 2020 17:22:06 GMT, Brian Burkhalter wrote: > Please review this small verbiage change to specify clearly the behavior of > `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of > `Reader::read(char[] cbuf, int off, int len)` when `len` is zero. Looks good

Re: RFR: 8257733: Move module-specific data from make to respective module [v2]

2020-12-10 Thread Naoto Sato
On Mon, 7 Dec 2020 14:27:45 GMT, Magnus Ihse Bursie wrote: >> A lot (but not all) of the data in make/data is tied to a specific module. >> For instance, the publicsuffixlist is used by java.base, and fontconfig by >> java.desktop. (A few directories, like mainmanifest, is *actually* used by

Re: RFR: 8257596: Clarify trusted final fields for record classes

2020-12-10 Thread Mandy Chung
On Thu, 10 Dec 2020 22:56:34 GMT, Mandy Chung wrote: >> Marked as reviewed by chegar (Reviewer). > > Hi Remi, > >> For me, it's backout JDK-8247444, as i said on the amber-spec-expert, i >> prefer VM to be oblivious about java.lang.Record. >> And in the future, the real fix is to change the

Re: RFR: 8257596: Clarify trusted final fields for record classes

2020-12-10 Thread Mandy Chung
On Thu, 10 Dec 2020 14:13:27 GMT, Chris Hegarty wrote: >> This is a follow-up on JDK-8255342 that removes non-specified JVM checks on >> classes with `RecordComponents` attributes. That introduces a regression in >> `InstanceKlass::is_record` that returns true on a non-record class which has

RFR: 8257964: Broken Calendar#getMinimalDaysInFirstWeek with java.locale.providers=HOST

2020-12-10 Thread Naoto Sato
Hello, Please review the changes to the subject issue. getMinimalDaysInFirstWeek() for Windows has been implemented to suffice the bug claim. - Commit messages: - JDK-8257964 Changes: https://git.openjdk.java.net/jdk/pull/1741/files Webrev:

Re: Optimization potential in Reader#read(CharBuffer)

2020-12-10 Thread Brian Burkhalter
Awesome, Pavel, thanks! Brian > On Dec 10, 2020, at 1:02 PM, Pavel Rappo wrote: > > I found this relevant issue created 17 years ago: > https://bugs.openjdk.java.net/browse/JDK-4926314 > >> […] >> >> Do you have the ability to file an issue? If not, I can do so.

Re: Optimization potential in Reader#read(CharBuffer)

2020-12-10 Thread Pavel Rappo
I found this relevant issue created 17 years ago: https://bugs.openjdk.java.net/browse/JDK-4926314 > On 10 Dec 2020, at 20:23, Brian Burkhalter > wrote: > > Hi Philippe, > >> On Dec 10, 2020, at 12:03 PM, Philippe Marschall >> wrote: >> >> I recently came across Reader#read(CharBuffer)

Re: Optimization potential in Reader#read(CharBuffer)

2020-12-10 Thread Brian Burkhalter
Hi Philippe, > On Dec 10, 2020, at 12:03 PM, Philippe Marschall > wrote: > > I recently came across Reader#read(CharBuffer) and noticed it was > missing an optimization for heap buffers. […] These seem like good suggestions. > Sorry if this is the wrong mailing list and should go to

Re: RFR: 8257620: Do not use objc_msgSend_stret to get macOS version

2020-12-10 Thread Anton Kozlov
On Wed, 2 Dec 2020 19:27:25 GMT, Phil Race wrote: >> Please review a small change that replaces use of objc_msgSend_stret in >> macOS platform code with pure ObjC code. It's also a prerequisite for >> macOS/AArch64 support, where objc_msgSend_stret is not available. > > Surely these days you

Re: RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array

2020-12-10 Thread Brian Burkhalter
On Thu, 10 Dec 2020 18:28:54 GMT, Lance Andersen wrote: >> Please review this small verbiage change to specify clearly the behavior of >> `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of >> `Reader::read(char[] cbuf, int off, int len)` when `len` is zero. > > Hi

Re: RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array

2020-12-10 Thread Lance Andersen
On Thu, 10 Dec 2020 17:22:06 GMT, Brian Burkhalter wrote: > Please review this small verbiage change to specify clearly the behavior of > `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of > `Reader::read(char[] cbuf, int off, int len)` when `len` is zero. Hi Brian,

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Maurizio Cimadamore
On Thu, 10 Dec 2020 09:15:47 GMT, Nick Gasson wrote: >> This is more-or-less a straight port of the x86 code to AArch64. >> GraphKit::make_native_call() calls SharedRuntime::make_native_invoker() >> to generate a blob that jumps to the native function entry point. This >> simply switches the

Re: RFR: 8247402: Documentation for Map::compute contains confusing implementation requirements [v2]

2020-12-10 Thread Martin Buchholz
On Sat, 28 Nov 2020 08:35:20 GMT, John Lin wrote: >> This is from the mailing list: >> http://mail.openjdk.java.net/pipermail/core-libs-dev/2020-June/067190.html >> >> - >> ### Progress >> - [x] Change must not contain extraneous whitespace >> - [x] Commit message must refer to an

RFR: 8248383: Clarify java.io.Reader.read(char[], ...) behavior for full array

2020-12-10 Thread Brian Burkhalter
Please review this small verbiage change to specify clearly the behavior of `Reader::read(char[] cbuf)` when the length of `cbuf` is zero, and that of `Reader::read(char[] cbuf, int off, int len)` when `len` is zero. - Commit messages: - 8248383: Clarify

Integrated: 8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems

2020-12-10 Thread Severin Gehwolf
On Mon, 7 Dec 2020 17:48:01 GMT, Severin Gehwolf wrote: > This has been implemented for cgroups v1 with > [JDK-8250984](https://bugs.openjdk.java.net/browse/JDK-8250984) but was > lacking some tooling support for cgroups v2. With podman 2.2.0 release this > could now be implemented (and

Integrated: 8257450: Start of release updates for JDK 17

2020-12-10 Thread Joe Darcy
On Tue, 1 Dec 2020 06:22:51 GMT, Joe Darcy wrote: > Start of JDK 17 updates. This pull request has now been integrated. Changeset: 6be1f567 Author:Joe Darcy URL: https://git.openjdk.java.net/jdk/commit/6be1f567 Stats: 7607 lines in 77 files changed: 7548 ins; 0 del; 59 mod

Re: RFR: 8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems

2020-12-10 Thread Severin Gehwolf
On Thu, 10 Dec 2020 16:28:59 GMT, Harold Seigel wrote: > The changes look good. Thanks for doing this. Thanks for the review! - PR: https://git.openjdk.java.net/jdk/pull/1672

Re: RFR: 8247402: Documentation for Map::compute contains confusing implementation requirements [v2]

2020-12-10 Thread Pavel Rappo
On Sat, 28 Nov 2020 08:35:20 GMT, John Lin wrote: >> This is from the mailing list: >> http://mail.openjdk.java.net/pipermail/core-libs-dev/2020-June/067190.html >> >> - >> ### Progress >> - [x] Change must not contain extraneous whitespace >> - [x] Commit message must refer to an

Re: RFR: 8253797: [cgroups v2] Account for the fact that swap accounting is disabled on some systems

2020-12-10 Thread Harold Seigel
On Mon, 7 Dec 2020 17:48:01 GMT, Severin Gehwolf wrote: > This has been implemented for cgroups v1 with > [JDK-8250984](https://bugs.openjdk.java.net/browse/JDK-8250984) but was > lacking some tooling support for cgroups v2. With podman 2.2.0 release this > could now be implemented (and

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Andrew Haley
On Thu, 10 Dec 2020 13:55:25 GMT, Jorn Vernee wrote: > Thanks for the amazing work! > > FWIW, on x86 RBP was being passed as debug info (see last line in > MachCallNode::in_RegMask), so the solution Vlad I proposed would be to > override MachCallNativeNode::in_RegMask to not include it IIRC.

Re: RFR: 8257837: Performance regression in heap byte buffer views

2020-12-10 Thread Claes Redestad
On Thu, 10 Dec 2020 13:15:41 GMT, Maurizio Cimadamore wrote: > As a result of the recent integration of the foreign memory access API, some > of the buffer implementations now use `ScopedMemoryAccess` instead of > `Unsafe`. While this works generally well, there are situations where profile

Integrated: 8257837: Performance regression in heap byte buffer views

2020-12-10 Thread Maurizio Cimadamore
On Thu, 10 Dec 2020 13:15:41 GMT, Maurizio Cimadamore wrote: > As a result of the recent integration of the foreign memory access API, some > of the buffer implementations now use `ScopedMemoryAccess` instead of > `Unsafe`. While this works generally well, there are situations where profile

Re: RFR: 8257837: Performance regression in heap byte buffer views

2020-12-10 Thread Roland Westrelin
On Thu, 10 Dec 2020 13:15:41 GMT, Maurizio Cimadamore wrote: > As a result of the recent integration of the foreign memory access API, some > of the buffer implementations now use `ScopedMemoryAccess` instead of > `Unsafe`. While this works generally well, there are situations where profile

Re: RFR: 8257837: Performance regression in heap byte buffer views

2020-12-10 Thread Chris Hegarty
On Thu, 10 Dec 2020 13:15:41 GMT, Maurizio Cimadamore wrote: > As a result of the recent integration of the foreign memory access API, some > of the buffer implementations now use `ScopedMemoryAccess` instead of > `Unsafe`. While this works generally well, there are situations where profile

Re: JNLP

2020-12-10 Thread Daniel Peintner
Hello, I am not sure if this is the right list for such kind of discussions but there is also https://openwebstart.com/ Hope this helps, -- Daniel On Thu, Dec 10, 2020 at 3:24 PM Bernd Eckenfels wrote: > Hello, > > We ported a big JWS gui app to stand-alone swing with a home made >

Re: RFR: 8257596: Clarify trusted final fields for record classes

2020-12-10 Thread Remi Forax
- Mail original - > De: "Mandy Chung" > À: "core-libs-dev" , "hotspot-runtime-dev" > > Envoyé: Mercredi 9 Décembre 2020 01:43:34 > Objet: Re: RFR: 8257596: Clarify trusted final fields for record classes > On Tue, 8 Dec 2020 22:52:37 GMT, Mandy Chung wrote: > >> This is a follow-up

Re: JNLP

2020-12-10 Thread Bernd Eckenfels
Hello, We ported a big JWS gui app to stand-alone swing with a home made installer/update mechanism. This was very easy to do (it had a main method for debugging anyway). The installer is not the most comfortable, but we can live with it since the whole application will be replaced by an web

Re: RFR: 8257596: Clarify trusted final fields for record classes

2020-12-10 Thread Chris Hegarty
On Tue, 8 Dec 2020 22:52:37 GMT, Mandy Chung wrote: > This is a follow-up on JDK-8255342 that removes non-specified JVM checks on > classes with `RecordComponents` attributes. That introduces a regression in > `InstanceKlass::is_record` that returns true on a non-record class which has >

Re: RFR: 8257074 Update the ByteBuffers micro benchmark [v4]

2020-12-10 Thread Jorn Vernee
On Thu, 10 Dec 2020 09:46:07 GMT, Chris Hegarty wrote: >> Marked as reviewed by bpb (Reviewer). > > While the updated set of scenarios covered by this benchmark is > reasonably (and vastly improves coverage), I find myself reluctant to > add the last remaining buffer property - read-only views.

Re: RFR: 8257596: Clarify trusted final fields for record classes

2020-12-10 Thread Harold Seigel
On Tue, 8 Dec 2020 22:52:37 GMT, Mandy Chung wrote: > This is a follow-up on JDK-8255342 that removes non-specified JVM checks on > classes with `RecordComponents` attributes. That introduces a regression in > `InstanceKlass::is_record` that returns true on a non-record class which has >

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Jorn Vernee
On Thu, 10 Dec 2020 09:15:47 GMT, Nick Gasson wrote: >> This is more-or-less a straight port of the x86 code to AArch64. >> GraphKit::make_native_call() calls SharedRuntime::make_native_invoker() >> to generate a blob that jumps to the native function entry point. This >> simply switches the

Re: RFR: 8257596: Clarify trusted final fields for record classes

2020-12-10 Thread Harold Seigel
On Tue, 8 Dec 2020 22:52:37 GMT, Mandy Chung wrote: > This is a follow-up on JDK-8255342 that removes non-specified JVM checks on > classes with `RecordComponents` attributes. That introduces a regression in > `InstanceKlass::is_record` that returns true on a non-record class which has >

RFR: 8257837: Performance regression in heap byte buffer views

2020-12-10 Thread Maurizio Cimadamore
As a result of the recent integration of the foreign memory access API, some of the buffer implementations now use `ScopedMemoryAccess` instead of `Unsafe`. While this works generally well, there are situations where profile pollution arises, which result in a considerable slowdown. The profile

JNLP

2020-12-10 Thread Thomas Vatter
I'm using JNLP, how should I go on? -- Network Inventory Software IBM-Partner, RedHat- und SUSE-Partner, Oracle Technet Member www.network-inventory.de Tel. 030-79782510 Fax 030-79782512 E-Mail: thomas.vat...@network-inventory.de

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests [v3]

2020-12-10 Thread Kim Barrett
On Tue, 8 Dec 2020 17:30:11 GMT, Mandy Chung wrote: >> Kim Barrett has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains five additional >> commits

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Andrew Haley
On Thu, 10 Dec 2020 10:25:33 GMT, Nick Gasson wrote: >> push_fp() doesn't make much sense if the RegSet is a set of Registers, which >> are by definition not FloatRegisters. That casting of Register to >> FloatRegister in gc/z is evil. > > Should we have a separate RegSet type for

Integrated: 8257876: Avoid Reference.isEnqueued in tests

2020-12-10 Thread Kim Barrett
On Tue, 8 Dec 2020 09:52:51 GMT, Kim Barrett wrote: > Please review this change that eliminates the use of Reference.isEnqueued by > tests. There were three tests using it: > > vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java > vmTestbase/gc/gctests/WeakReferenceGC/WeakReferenceGC.java >

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests [v3]

2020-12-10 Thread Kim Barrett
> Please review this change that eliminates the use of Reference.isEnqueued by > tests. There were three tests using it: > > vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java > vmTestbase/gc/gctests/WeakReferenceGC/WeakReferenceGC.java > jdk/java/lang/ref/ReferenceEnqueue.java > > In each of

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Nick Gasson
On Thu, 10 Dec 2020 10:21:09 GMT, Andrew Haley wrote: >> Er... no. But not because of the cast. The `push(fp_spills)` below should be >> `push_fp(fp_spills)`. I'll add a FloatRegister constructor to RegSet so it >> doesn't need that any more. There's one other place that does it in >>

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Andrew Haley
On Thu, 10 Dec 2020 10:01:49 GMT, Nick Gasson wrote: >> src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp line 3192: >> >>> 3190: spills += RegSet::of(output->as_Register()); >>> 3191: } else if (output->is_FloatRegister()) { >>> 3192: fp_spills +=

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Nick Gasson
On Thu, 10 Dec 2020 09:36:44 GMT, Andrew Haley wrote: >> Nick Gasson has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Review comments > > src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp line 3192: > >> 3190: spills +=

Re: RFR: 8257074 Update the ByteBuffers micro benchmark [v4]

2020-12-10 Thread Chris Hegarty
On Mon, 30 Nov 2020 20:54:09 GMT, Brian Burkhalter wrote: >> Chris Hegarty has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Add explicitly allocated heap carrier buffer tests >> - Replace Single with Loop > > Marked as reviewed by bpb

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Andrew Haley
On Thu, 10 Dec 2020 09:15:47 GMT, Nick Gasson wrote: >> This is more-or-less a straight port of the x86 code to AArch64. >> GraphKit::make_native_call() calls SharedRuntime::make_native_invoker() >> to generate a blob that jumps to the native function entry point. This >> simply switches the

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests [v2]

2020-12-10 Thread Thomas Schatzl
On Thu, 10 Dec 2020 08:56:25 GMT, Kim Barrett wrote: >> I understand that the test code previously just forwarded the >> `InterruptedException` if it happened in the `Thread.sleep()` call too. So >> this may only be an exiting issue and please ignore this comment. >> Not catching

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests [v2]

2020-12-10 Thread Thomas Schatzl
On Thu, 10 Dec 2020 09:01:54 GMT, Kim Barrett wrote: >> Please review this change that eliminates the use of Reference.isEnqueued by >> tests. There were three tests using it: >> >> vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java >>

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Nick Gasson
On Wed, 9 Dec 2020 09:58:26 GMT, Andrew Haley wrote: >> Nick Gasson has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Review comments > > src/hotspot/cpu/aarch64/aarch64.ad line 16057: > >> 16055: >> 16056: format %{ "CALL, native

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64

2020-12-10 Thread Nick Gasson
On Wed, 9 Dec 2020 08:20:38 GMT, Nick Gasson wrote: > This is more-or-less a straight port of the x86 code to AArch64. > GraphKit::make_native_call() calls SharedRuntime::make_native_invoker() > to generate a blob that jumps to the native function entry point. This > simply switches the thread

Re: RFR: 8257882: Implement linkToNative intrinsic on AArch64 [v2]

2020-12-10 Thread Nick Gasson
> This is more-or-less a straight port of the x86 code to AArch64. > GraphKit::make_native_call() calls SharedRuntime::make_native_invoker() > to generate a blob that jumps to the native function entry point. This > simply switches the thread state from Java to native and handles the > safepoint

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests [v2]

2020-12-10 Thread Kim Barrett
> Please review this change that eliminates the use of Reference.isEnqueued by > tests. There were three tests using it: > > vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java > vmTestbase/gc/gctests/WeakReferenceGC/WeakReferenceGC.java > jdk/java/lang/ref/ReferenceEnqueue.java > > In each of

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests [v2]

2020-12-10 Thread Kim Barrett
On Wed, 9 Dec 2020 13:59:09 GMT, Thomas Schatzl wrote: >> test/jdk/java/lang/ref/ReferenceEnqueue.java line 58: >> >>> 56: for (int i = 0; i < iterations; i++) { >>> 57: System.gc(); >>> 58: enqueued = (queue.remove(100) == ref); >> >> The code does

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests

2020-12-10 Thread Kim Barrett
On Wed, 9 Dec 2020 13:26:04 GMT, Thomas Schatzl wrote: >> Please review this change that eliminates the use of Reference.isEnqueued by >> tests. There were three tests using it: >> >> vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java >>

Re: RFR: 8257876: Avoid Reference.isEnqueued in tests

2020-12-10 Thread Kim Barrett
On Wed, 9 Dec 2020 13:28:44 GMT, Thomas Schatzl wrote: >> Please review this change that eliminates the use of Reference.isEnqueued by >> tests. There were three tests using it: >> >> vmTestbase/gc/gctests/ReferencesGC/ReferencesGC.java >>

Re: RFR: 8257450: Start of release updates for JDK 17 [v8]

2020-12-10 Thread Joe Darcy
> Start of JDK 17 updates. Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 18 additional commits since the last revision: - Merge branch