Re: Spliterators of iterators

2015-06-17 Thread Martin Buchholz
On Wed, Jun 17, 2015 at 1:36 AM, Paul Sandoz paul.san...@oracle.com wrote: A top-level Spliterator should not report both CONCURRENT and IMMUTABLE, since they are mutually exclusive. Such a Spliterator is inconsistent and no guarantees can be made about any computation using that

Re: JDK-8057919 Class.getSimpleName() should work for non-JLS compliant class names

2015-06-17 Thread John Rose
On Jun 16, 2015, at 8:36 PM, David Holmes david.hol...@oracle.com wrote: On 17/06/2015 8:39 AM, John Rose wrote: What I'm suggesting is that a BC generator might emit a zero length name for a non-anon class, leading to confusion when C.isAnon is called. Is a zero-length name for a

Re: JDK-8057919 Class.getSimpleName() should work for non-JLS compliant class names

2015-06-17 Thread John Rose
On Jun 17, 2015, at 6:27 AM, Jochen Theodorou blackd...@gmx.org wrote: I did not expect that the outer class is not set for Local and Anonymous classes. I would have thought that the enclosing method is the only difference. A bit of history (which can be found in the JVMS itself): The

Re: JDK-8057919 Class.getSimpleName() should work for non-JLS compliant class names

2015-06-17 Thread David Holmes
On 18/06/2015 7:56 AM, John Rose wrote: On Jun 17, 2015, at 6:27 AM, Jochen Theodorou blackd...@gmx.org wrote: I did not expect that the outer class is not set for Local and Anonymous classes. I would have thought that the enclosing method is the only difference. A bit of history (which can

Re: RFR 9/8: 8066504: GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version

2015-06-17 Thread Alan Bateman
On 15/06/2015 22:58, Roger Riggs wrote: Please review code for Windows 10 that sets the System properties for os.name and os.version from the version of kernel32.dll. The update uses the same technique used by Hotspot in src/os/windows/vm/os_windows.cpp. The Windows link of CoreLibraries.gmk

Re: Spliterators of iterators

2015-06-17 Thread Martin Buchholz
On Tue, Jun 16, 2015 at 1:43 AM, Paul Sandoz paul.san...@oracle.com wrote: It's a subtle area. Certain Spliterator characteristics refer to the (element) source namely, NONULL, IMMUTABLE and CONCURRENT. Yes, it's subtle. I went back and studied

[9] Review request : JDK-8067005 : Several java/lang/invoke tests fail due to exhausted code cache

2015-06-17 Thread Konstantin Shefov
Hello, Please review the test bug fix https://bugs.openjdk.java.net/browse/JDK-8067005 Webrev is http://cr.openjdk.java.net/~kshefov/8067005/webrev.00/ Thanks -Konstantin

Re: Spliterators of iterators

2015-06-17 Thread Paul Sandoz
On Jun 17, 2015, at 8:10 AM, Martin Buchholz marti...@google.com wrote: On Tue, Jun 16, 2015 at 1:43 AM, Paul Sandoz paul.san...@oracle.com wrote: It's a subtle area. Certain Spliterator characteristics refer to the (element) source namely, NONULL, IMMUTABLE and CONCURRENT. Yes, it's

Re: [9] Review request : JDK-8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option

2015-06-17 Thread Konstantin Shefov
Hello, I have updated the fix once more http://cr.openjdk.java.net/~kshefov/8062904/webrev.03/ Please, review Thanks -Konstantin On 06/16/2015 02:01 PM, Konstantin Shefov wrote: Hello, Please, review the new version of the fix to this issue

Re: RFR 9/8: 8066504: GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version

2015-06-17 Thread Erik Joelsson
Hello Roger, Build change looks fine to me. /Erik On 2015-06-15 23:58, Roger Riggs wrote: Please review code for Windows 10 that sets the System properties for os.name and os.version from the version of kernel32.dll. The update uses the same technique used by Hotspot in

Re: [9] Review request : JDK-8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option

2015-06-17 Thread Vladimir Ivanov
Konstantin, Overall looks good w.r.t. my previous comments about Utils class. You have a duplicate of processVME in LambdaFormTestCase. Best regards, Vladimir Ivanov On 6/17/15 1:21 PM, Konstantin Shefov wrote: Hello, I have updated the fix once more

Re: JDK-8057919 Class.getSimpleName() should work for non-JLS compliant class names

2015-06-17 Thread Jochen Theodorou
Am 16.06.2015 10:40, schrieb Vladimir Ivanov: [...] Example: class TopLevel { static class Nested {} classInner {} void f() { class Local {} } Object o = new TopLevel() {}; // anonymous } And here's how they look like on bytecode level. I'll use both javap and ASM

Re: RFR 9/8: 8066504: GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version

2015-06-17 Thread Roger Riggs
Hi Alan, Would there be any concerns about backporting to JDK 8? On 6/17/2015 7:32 AM, Alan Bateman wrote: On 15/06/2015 22:58, Roger Riggs wrote: Please review code for Windows 10 that sets the System properties for os.name and os.version from the version of kernel32.dll. The update uses

Re: [9] Review request : JDK-8067005 : Several java/lang/invoke tests fail due to exhausted code cache

2015-06-17 Thread Vladimir Ivanov
Konstantin, I'd move isThrowableCausedByVME processVME from Utils to a more specific place (new shared class for JSR292 tests?). They aren't general enough to be useful for other tests. Also, processVME name is confusing. I'd introduce something like a runMHTest wrapper and process

Re: [9] Review request : JDK-8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option

2015-06-17 Thread Konstantin Shefov
Vladimir Thanks for reviewing On 06/17/2015 04:09 PM, Vladimir Ivanov wrote: Konstantin, Overall looks good w.r.t. my previous comments about Utils class. I will fix the common code -Konstantin You have a duplicate of processVME in LambdaFormTestCase. Best regards, Vladimir Ivanov On

Re: RFR 9/8: 8066504: GetVersionEx in java.base/windows/native/libjava/java_props_md.c might not get correct Windows version

2015-06-17 Thread Roger Riggs
I updated the webrev to remove the Windows 3.1 case and will wait 24hrs to see if there are more comments. Thanks for the review, Roger On 6/17/2015 9:58 AM, Alan Bateman wrote: On 17/06/2015 14:49, Roger Riggs wrote: Hi Alan, Would there be any concerns about backporting to JDK 8? I don't

Re: [9] Review request : JDK-8067005 : Several java/lang/invoke tests fail due to exhausted code cache

2015-06-17 Thread Vladimir Ivanov
Looks good. Best regards, Vladimir Ivanov On 6/17/15 7:23 PM, Konstantin Shefov wrote: Vladimir, I have updated the webrev: http://cr.openjdk.java.net/~kshefov/8067005/webrev.01/ -Konstantin On 06/17/2015 04:01 PM, Vladimir Ivanov wrote: Konstantin, I'd move isThrowableCausedByVME

Re: [9] Review request : JDK-8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option

2015-06-17 Thread Vladimir Ivanov
Looks good. Best regards, Vladimir Ivanov On 6/17/15 7:21 PM, Konstantin Shefov wrote: Vladimir I have updated the webrev: http://cr.openjdk.java.net/~kshefov/8062904/webrev.04/ -Konstantin On 06/17/2015 04:09 PM, Vladimir Ivanov wrote: Konstantin, Overall looks good w.r.t. my previous

Re: [9] Review request : JDK-8062904: TEST_BUG: Tests java/lang/invoke/LFCaching fail when run with -Xcomp option

2015-06-17 Thread Konstantin Shefov
Vladimir I have updated the webrev: http://cr.openjdk.java.net/~kshefov/8062904/webrev.04/ -Konstantin On 06/17/2015 04:09 PM, Vladimir Ivanov wrote: Konstantin, Overall looks good w.r.t. my previous comments about Utils class. You have a duplicate of processVME in LambdaFormTestCase.

Re: [9] Review request : JDK-8067005 : Several java/lang/invoke tests fail due to exhausted code cache

2015-06-17 Thread Konstantin Shefov
Vladimir, I have updated the webrev: http://cr.openjdk.java.net/~kshefov/8067005/webrev.01/ -Konstantin On 06/17/2015 04:01 PM, Vladimir Ivanov wrote: Konstantin, I'd move isThrowableCausedByVME processVME from Utils to a more specific place (new shared class for JSR292 tests?). They