Re: RFR JDK 8: 8022190 Fix varargs lint warnings in the JDK

2013-08-05 Thread Lance Andersen
Joe Looks ok as well Best Lance -- Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com On Aug 4, 2013, at 9:04 PM, Joe Darcy joe.da...@oracle.com wrote: Hello, Please review this

Re: RFR 8021820: Number of opened files used in select() is limited to 1024 [macosx]

2013-08-05 Thread Aleksej Efimov
Alan, Tim, I have addressed your comments and as a result - new webrev: http://cr.openjdk.java.net/~aefimov/8021820/webrev.01 The list of changes: 1. The connection to Oracle site is removed (it's not internal, but anyway it's better not to rely on availability of external resource in test).

hg: jdk8/tl/jdk: 8022190: Fix varargs lint warnings in the JDK

2013-08-05 Thread joe . darcy
Changeset: 80da091343af Author:darcy Date: 2013-08-05 07:50 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/80da091343af 8022190: Fix varargs lint warnings in the JDK Reviewed-by: alanb, lancea, alexsch ! src/share/classes/java/util/stream/Stream.java !

Re: Swing Dev RFR JDK 8: 8022190 Fix varargs lint warnings in the JDK

2013-08-05 Thread Alexander Scherbatiy
The fix looks good for me. Thanks, Alexandr. On 8/5/2013 5:04 AM, Joe Darcy wrote: Hello, Please review this fix for 8022190: Fix varargs lint warnings in the JDK http://cr.openjdk.java.net/~darcy/8022190.0/ Full patch below. While the @SafeVarargs annotation generally

hg: jdk8/tl/jdk: 8016531: jconsole-plugin script demo does not work with nashorn

2013-08-05 Thread sundararajan . athijegannathan
Changeset: 87367a1c7f76 Author:sundar Date: 2013-08-05 21:31 +0530 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/87367a1c7f76 8016531: jconsole-plugin script demo does not work with nashorn Reviewed-by: lagergren, hannesw Contributed-by: rieberandr...@gmail.com !

Re: Review request: JDK-7147084 (process) appA hangs when read output stream of appB which starts appC that runs forever (v.2)

2013-08-05 Thread Alexey Utkin
Here is new version of the fix: http://cr.openjdk.java.net/~uta/openjdk-webrevs/JDK-7147084/webrev.02/ Changes (in accordance with Alan's recommendations): -- Magic constant -1 was changed to JAVA_INVALID_HANDLE_VALUE with explanation why the macro INVALID_HANDLE_VALUE is not in use. -- The

RE: Remove superfluous @test tags from SpliteratorTraversingAndSplittingTest

2013-08-05 Thread Iris Clark
Hi, Chris. I also noticed this. Running the test explicitly seems to locate just the first @test, while running in a batch (sometimes) finds the two! Not sure why. If you execute jtreg with explicit file name(s), only those files will be search for @test tags. If you use anything else,

Re: Dismal performance of String.intern()

2013-08-05 Thread Ioi Lam
Hi Steven, This looks like a promising patch. If all goes well I can sponsor this patch into hotspot-rt. I have problems building your test. Could you send a stand-alone test that can be build with plain JDK (i.e., exclude things like com.google.common. and org.openjdk.jmh)? Also, I saw

Re: Dismal performance of String.intern()

2013-08-05 Thread Aleksey Shipilev
Hi Steven, On 08/05/2013 09:21 AM, Steven Schlansker wrote: Here is the patch I have at the moment: https://gist.github.com/stevenschlansker/6153643 Would you like to make char_cmp() and char_cpy() inline? In release, they can then be compiled straight to memcmp/memcpy. This is almost a 3.5x

RFR: 8020854 change RMI javadocs to specify that remote objects are exported to the wildcard address

2013-08-05 Thread Stuart Marks
Hi all, Please review the following RMI javadoc change that clarifies the exporting behavior and that provides an example of how to modify it. Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020854 Webrev: http://cr.openjdk.java.net/~smarks/reviews/8020854/webrev.0/ Specdiff:

Re: Java 8 RFR 6378503: In java.math.BigDecimal, division by one returns zero

2013-08-05 Thread Brian Burkhalter
Hi Joe, On Jul 25, 2013, at 2:28 PM, Brian Burkhalter wrote: I took a look through the code and I don't see how sdiff == Integer.MIN_VALUE is handled. This case, if compareMagnitude() does not return at lines 2668 or 2670, intentionally falls through to line 2690. Otherwise, if

Re: Code Review Request: More tests for 7184826: (reflect) Add support for Project Lambda concepts in core reflection

2013-08-05 Thread Joseph Darcy
Hello, Sorry for the repeated review delays. This looks fine to go back. Thanks, -Joe On 7/22/2013 6:27 AM, Joel Borggren-Franck wrote: Hi Amy, I'm happy with the current iteration. I'll help you find an official reviewer. cheers /Joel On 2013-07-22, Amy Lu wrote: Thank you Joel for all

Re: RFR 8021820: Number of opened files used in select() is limited to 1024 [macosx]

2013-08-05 Thread Stuart Marks
Hi Aleksej, Thanks for the update. I took a look at the revised test, and there are still some issues. (I didn't look at the build changes.) 1) System-specific resource limits. I think the biggest issue is resource limits on the number of open files per process that might vary from system

Re: RFR: 8020854 change RMI javadocs to specify that remote objects are exported to the wildcard address

2013-08-05 Thread Alan Bateman
On 05/08/2013 13:44, Stuart Marks wrote: Hi all, Please review the following RMI javadoc change that clarifies the exporting behavior and that provides an example of how to modify it. Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020854 Webrev:

hg: jdk8/tl/jdk: 8020854: change RMI javadocs to specify that remote objects are exported to the wildcard address

2013-08-05 Thread stuart . marks
Changeset: 31759750ff63 Author:smarks Date: 2013-08-05 19:12 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/31759750ff63 8020854: change RMI javadocs to specify that remote objects are exported to the wildcard address Reviewed-by: rgallard, alanb !

Re: RFR: 8020854 change RMI javadocs to specify that remote objects are exported to the wildcard address

2013-08-05 Thread Stuart Marks
On 8/5/13 6:16 PM, Alan Bateman wrote: On 05/08/2013 13:44, Stuart Marks wrote: Hi all, Please review the following RMI javadoc change that clarifies the exporting behavior and that provides an example of how to modify it. Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8020854

Re: Review request: JDK-7147084 (process) appA hangs when read output stream of appB which starts appC that runs forever (v.2)

2013-08-05 Thread Alan Bateman
On 05/08/2013 09:05, Alexey Utkin wrote: Here is new version of the fix: http://cr.openjdk.java.net/~uta/openjdk-webrevs/JDK-7147084/webrev.02/ Changes (in accordance with Alan's recommendations): -- Magic constant -1 was changed to JAVA_INVALID_HANDLE_VALUE with explanation why the macro

Re: RFR (2nd): 8015318: Extend Collector with 'finish' operation

2013-08-05 Thread Henry Jen
Ping on this, the 8012238 fix is already in, thus this webrev is ready to go, only if we can have a reviewer review it. Cheers, Henry On 07/09/2013 02:38 PM, Henry Jen wrote: Hi, An update from earlier request based on some feedbacks. The webrev is at