Re: RFR: 8237521: Memory Access API fixes for 32-bit

2020-01-22 Thread David Holmes
Hi Nick :) On 23/01/2020 5:25 pm, David Holmes wrote: On 23/01/2020 5:08 pm, Nick Gasson wrote: Hi Maurizio, Yes, for jdk/jdk. Do I need another Reviewer? Yes - specifically you need a reviewer from Hotspot! cc'ing hotspot-runtime-dev :) So on 32-bit size_t is 32-bit and so may have ~half

Re: RFR: 8237521: Memory Access API fixes for 32-bit

2020-01-22 Thread David Holmes
On 23/01/2020 5:08 pm, Nick Gasson wrote: Hi Maurizio, Yes, for jdk/jdk. Do I need another Reviewer? Yes - specifically you need a reviewer from Hotspot! cc'ing hotspot-runtime-dev :) Cheers, David Thanks, Nick On 01/22/20 20:46 pm, Maurizio Cimadamore wrote: Fixes look good to me - I

Re: RFR: 8237521: Memory Access API fixes for 32-bit

2020-01-22 Thread Nick Gasson
Hi Maurizio, Yes, for jdk/jdk. Do I need another Reviewer? Thanks, Nick On 01/22/20 20:46 pm, Maurizio Cimadamore wrote: > Fixes look good to me - I assume this is for JDK 15, right? > > Maurizio > > On 22/01/2020 08:43, Nick Gasson wrote: >> Hi, >> >> Bug: https://bugs.openjdk.java.net/browse

RFR: JDK-8237607: [macos] Signing app bundle with jpackage fails if runtime is already signed

2020-01-22 Thread Alexander Matveev
Please review the jpackage fix for bug [1] at [2]. - Fixed by forcing signing even if runtime already signed. - Original implementation was not taken in consideration that runtime can be signed (JDK itself is signed from which jpackage is used or runtime provided via --runtime-image). - Signatu

RFR 8237599 : Greedy matching against supplementary chars fails to respect the region

2020-01-22 Thread Ivan Gerasimov
Hello everyone! When the input of a j.u.regex.Matcher is restricted with .region() method, it can possibly cut off a half of a surrogate pair. It turns out that greedy matching implemented in the Pattern.CharPropertyGreedy class fails to recognize this edge case in two scenarios: 1) When i

Re: RFR [15] 8236825: Reading output from ... using ProcessBuilder/Process might hang

2020-01-22 Thread Paul Sandoz
My sense is it is fixing a marginal case for the less dominant platform where this is less likely arise, whereas for the dominant platform there is still an issue. Waiting for a non-blocking native read is a reasonable approach (IIUC that is required for the desired proper fix). It would be us

Re: [PING] RFR: 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy

2020-01-22 Thread Bob Vandette
> On Jan 22, 2020, at 11:06 AM, Mandy Chung wrote: > > > > On 1/22/20 1:53 AM, Severin Gehwolf wrote: >> Hi Mandy, >> >> Thanks again for the review! I'll be sure to fix things. Some of the >> issues you've pointed out probably pre-existed in old code. Some became >> more complicated since u

Re: [PING] RFR: 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy

2020-01-22 Thread Mandy Chung
On 1/22/20 1:53 AM, Severin Gehwolf wrote: Hi Mandy, Thanks again for the review! I'll be sure to fix things. Some of the issues you've pointed out probably pre-existed in old code. Some became more complicated since unlimited in cgroupv1 is a large long value in files. Anyway, I'll update it

Re: [15] RFR: 8236903: ZoneRules#getOffset throws DateTimeException for rules with last rules

2020-01-22 Thread Roger Riggs
+1, looks good On 1/22/20 4:55 AM, Stephen Colebourne wrote: Looks good Stephen On Tue, 21 Jan 2020 at 21:53, wrote: Please review the fix to the following issue: https://bugs.openjdk.java.net/browse/JDK-8236903 The proposed changeset is located at: http://cr.openjdk.java.net/~naoto/823690

Re: RFR: 8237521: Memory Access API fixes for 32-bit

2020-01-22 Thread Maurizio Cimadamore
Fixes look good to me - I assume this is for JDK 15, right? Maurizio On 22/01/2020 08:43, Nick Gasson wrote: Hi, Bug: https://bugs.openjdk.java.net/browse/JDK-8237521 Webrev: http://cr.openjdk.java.net/~ngasson/8237521/webrev.01/ This is a follow-up to JDK-8236634 which just contained changes

Re: RFR 8236034 : Use optimized Ques node for curly {0,1} quantifier

2020-01-22 Thread Ivan Gerasimov
Thank you Roger for review! Pushed. -- With kind regards, Ivan Gerasimov

Re: [15] RFR: 8236903: ZoneRules#getOffset throws DateTimeException for rules with last rules

2020-01-22 Thread Stephen Colebourne
Looks good Stephen On Tue, 21 Jan 2020 at 21:53, wrote: > Please review the fix to the following issue: > > https://bugs.openjdk.java.net/browse/JDK-8236903 > > The proposed changeset is located at: > > http://cr.openjdk.java.net/~naoto/8236903/webrev.00/ > > This edge case throws an out-of-bound

Re: [PING] RFR: 8231111: Cgroups v2: Rework Metrics in java.base so as to recognize unified hierarchy

2020-01-22 Thread Severin Gehwolf
Hi Mandy, Thanks again for the review! I'll be sure to fix things. Some of the issues you've pointed out probably pre-existed in old code. Some became more complicated since unlimited in cgroupv1 is a large long value in files. Anyway, I'll update it. On Tue, 2020-01-21 at 16:09 -0800, Mandy Chun

RFR: 8237521: Memory Access API fixes for 32-bit

2020-01-22 Thread Nick Gasson
Hi, Bug: https://bugs.openjdk.java.net/browse/JDK-8237521 Webrev: http://cr.openjdk.java.net/~ngasson/8237521/webrev.01/ This is a follow-up to JDK-8236634 which just contained changes to the tests to make them build/pass on 32-bit systems for JDK 14. This patch removes the test workarounds an