Re: jstack and the target output

2013-11-22 Thread Piotr Bzdyl
Is there any other information I could collect to help troubleshoot this problem? How could I check if VM runs with attach disabled? I noticed the same behavior when trying to connect to the process using JConsole: JConsole displays the sample app in the list and when I try to connect it finally

Re: jstack and the target output

2013-11-22 Thread Mikael Gerdin
Piotr, On Friday 22 November 2013 09.21.56 Piotr Bzdyl wrote: Is there any other information I could collect to help troubleshoot this problem? How could I check if VM runs with attach disabled? The comments in

Re: jstack and the target output

2013-11-22 Thread Piotr Bzdyl
Thank you Mikael for the detailed information - I learned a lot about how SA tools attache to the target process. When I was running the test you suggested I noticed one detail in my setup which turned out to be the cause of my problems: as I mentioned previously I was running my tests inside a

hg: jdk8/tl/jdk: 3 new changesets

2013-11-22 Thread sean . coffey
Changeset: cd56de5896b4 Author:aefimov Date: 2013-11-15 15:06 +0400 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cd56de5896b4 8027848: The ZoneInfoFile doesn't honor future GMT offset changes Reviewed-by: sherman, coffeys ! src/share/classes/sun/util/calendar/ZoneInfoFile.java

Re: RFR(L) - 2nd round: 8024854: Basic changes and files to build the class library on AIX

2013-11-22 Thread Volker Simonis
We've synced our staging repository yesterday with the latest jdk8-b117 and I noticed that change 8025985: com.sun.management.OSMBeanFactory should not be public moved the file src/solaris/native/com/sun/ management/UnixOperatingSystem_md.c to

hg: jdk8/tl/jdk: 8023278: Reflection API methods do not throw AnnotationFormatError in case of malformed Runtime[In]VisibleTypeAnnotations attribute

2013-11-22 Thread joel . franck
Changeset: 0775f4f6532a Author:jfranck Date: 2013-11-22 11:34 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/0775f4f6532a 8023278: Reflection API methods do not throw AnnotationFormatError in case of malformed Runtime[In]VisibleTypeAnnotations attribute Reviewed-by: darcy

Re: jstack and the target output

2013-11-22 Thread Piotr Bzdyl
After checking the strace output I notice that the issue was caused by the file mode for files created on vboxsf mount. By default (when automount option is used in virtualbox configuration) it creates .attach_pidpid with file mode 0770. When I manually mounted shared folder specifying fmode=660

Re: jstack and the target output

2013-11-22 Thread Mikael Gerdin
On Friday 22 November 2013 12.59.42 Piotr Bzdyl wrote: After checking the strace output I notice that the issue was caused by the file mode for files created on vboxsf mount. By default (when automount option is used in virtualbox configuration) it creates .attach_pidpid with file mode 0770.

Re: jstack and the target output

2013-11-22 Thread Piotr Bzdyl
Thank you Mikael. Now with the is_init_trigger() code I understand that it wasn't the problem with file mask but rather with the file owner (lines 504-507 from http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/file/tip/src/os/linux/vm/attachListener_linux.cpp ). What helped was specyfing uid i

Re: RFR(L) - 2nd round: 8024854: Basic changes and files to build the class library on AIX

2013-11-22 Thread Alan Bateman
On 21/11/2013 15:54, Volker Simonis wrote: : But actually I've just realized that it is not need at all, because 'aix_close.c' isn't in the PATH for any other OS than AIX (that could be probably called a feature of the new file layout:) So I'll simply change it to: 48 ifeq

Re: RFR 6987597: ManagementFactory.getGarbageCollectorMXBeans() returns empty list with CMS

2013-11-22 Thread Jaroslav Bachorik
On 21.11.2013 17:51, Mandy Chung wrote: Hi Jaroslav, On 11/19/2013 6:23 AM, Jaroslav Bachorik wrote: Please, review this test fix. Issue : https://bugs.openjdk.java.net/browse/JDK-6987597 Webrev: http://cr.openjdk.java.net/~jbachorik/6987597/webrev.03 The fix moves the execution of the test

Re: RFR(L) - 2nd round: 8024854: Basic changes and files to build the class library on AIX

2013-11-22 Thread Volker Simonis
Hi Alan, so I'll rename 'initLocalAddrTable()' into 'platformInit()' and move the call to 'aix_close_init' to a AIX-specific version of 'platformInit()' in net_util_md.c as discussed. I'll post a final webrev once I got the comments from the AWT/2D guys. As far as I understood, you've now

hg: jdk8/tl/langtools: 8028739: javac generates incorrect descriptor for MethodHandle::invoke

2013-11-22 Thread robert . field
Changeset: 4fa835472e3c Author:rfield Date: 2013-11-22 17:07 -0800 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/4fa835472e3c 8028739: javac generates incorrect descriptor for MethodHandle::invoke Summary: introduce special handling for signature polymorphic methods