From mpatton at cpaglobal.com Fri Mar 3 20:13:02 2017 From: mpatton at cpaglobal.com (Matthew Patton) Date: Fri, 3 Mar 2017 20:13:02 +0000 Subject: Jmap -heap on all OpenJDK 1.7.79+ on Linux x86_64 crash Message-ID: > I ran across this bug report (https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1548434) and it seems in Wheezy/Jessie it's likewise. The last functional version I just so happened to hold onto is 7u79-2.5.5-1~deb7u1. > > The following are confirmed to throw an Exception > * 7u111-2.6.7-2~deb8 > * 7u121-2.6.8-1~deb7u1 > * 7u95-2.6.4-1~deb7u1 > > Here is an example run with 7u121 - http://pastebin.com/tzRk7xTH I can confirm that on RHEL family distributions it occurs as well even with 131 which came out a couple weeks ago. Additionally it would be tremendously helpful if 'jmap' were moved back into the main package and not relegated to -devel. It is a tremendously useful program for day to day operations. Linux ip-172-17-0-41 4.4.44-39.55.amzn1.x86_64 #1 SMP Mon Jan 30 18:15:53 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux java-1.7.0-openjdk-1.7.0.131-2.6.9.0.71.amzn1.x86_64 java-1.7.0-openjdk-devel-1.7.0.131-2.6.9.0.71.amzn1.x86_64 # jmap -heap 2436 Attaching to process ID 2436, please wait... Debugger attached successfully. Server compiler detected. JVM version is 24.131-b00 using thread-local object allocation. Garbage-First (G1) GC with 2 thread(s) Heap Configuration: MinHeapFreeRatio = 25 MaxHeapFreeRatio = 70 MaxHeapSize = 2684354560 (2560.0MB) NewSize = 1363144 (1.2999954223632812MB) MaxNewSize = 17592186044415 MB OldSize = 5452592 (5.1999969482421875MB) NewRatio = 2 SurvivorRatio = 5 PermSize = 402653184 (384.0MB) MaxPermSize = 536870912 (512.0MB) G1HeapRegionSize = 1048576 (1.0MB) Heap Usage: Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.tools.jmap.JMap.runTool(JMap.java:197) at sun.tools.jmap.JMap.main(JMap.java:128) Caused by: java.lang.RuntimeException: unknown CollectedHeap type : class sun.jvm.hotspot.gc_interface.CollectedHeap at sun.jvm.hotspot.tools.HeapSummary.run(HeapSummary.java:146) at sun.jvm.hotspot.tools.Tool.start(Tool.java:221) at sun.jvm.hotspot.tools.HeapSummary.main(HeapSummary.java:40) ... 6 more ________________________________ If you wish to view the CPA Global group email disclaimer, please click here ________________________________ From gnu.andrew at redhat.com Tue Mar 7 03:57:01 2017 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Mon, 6 Mar 2017 22:57:01 -0500 (EST) Subject: [ping] RE: RFR(S): 8175087: [bsd] Fix build after "8024900: PPC64: Enable new build on AIX (jdk part)" In-Reply-To: References: Message-ID: <1916499821.4171167.1488859021290.JavaMail.zimbra@redhat.com> ----- Original Message ----- > Hi, > > I updated the webrev to be based on u131. > http://cr.openjdk.java.net/~goetz/wr17/8175087-macErr/webrev.01/ > > Best regards, > Goetz. > > > -----Original Message----- > > From: Lindenmaier, Goetz > > Sent: Freitag, 17. Februar 2017 10:42 > > To: jdk7u-dev > > Cc: 'Florian Bruckner (3kraft)' > > Subject: RFR(S): 8175087: [bsd] Fix build after "8024900: PPC64: Enable new > > build on AIX (jdk part)" > > > > Hi, > > > > Please review this tiny fix. There is a BSD specific section of this code > > so the code guarded by the #if I fixed may not be compiled on bsd. > > http://cr.openjdk.java.net/~goetz/wr17/8175087-macErr/webrev.01/ > > > > Best regards, > > Goetz. > > Sorry for the delay. Looks fine. Thanks, -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Web Site: http://fuseyism.com Twitter: https://twitter.com/gnu_andrew_java PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 From gnu.andrew at redhat.com Tue Mar 7 03:57:33 2017 From: gnu.andrew at redhat.com (Andrew Hughes) Date: Mon, 6 Mar 2017 22:57:33 -0500 (EST) Subject: [ping] RFR(S): 8175163: [bsd] Fix build after "8005629: javac warnings compiling java.awt.EventDispatchThread..." In-Reply-To: References: Message-ID: <785750458.4171264.1488859053578.JavaMail.zimbra@redhat.com> ----- Original Message ----- > Hi, > > http://cr.openjdk.java.net/~goetz/wr17/8175163-macErr3/webrev.01/ > I also updated this tob e based on u131. > > Best regards, > Goetz. > > > -----Original Message----- > > From: Lindenmaier, Goetz > > Sent: Freitag, 17. Februar 2017 10:44 > > To: jdk7u-dev > > Cc: 'Florian Bruckner (3kraft)' > > Subject: RFR(S): 8175163: [bsd] Fix build after "8005629: javac warnings > > compiling java.awt.EventDispatchThread..." > > > > Hi > > > > > > > > 8005629 removed file EventDispatchAccess.java, but did not remove it from > > the list of exported files in FILES_export_macosx.gmk. > > > > http://cr.openjdk.java.net/~goetz/wr17/8175163-macErr3/webrev.01/ > > > > > > > > Please review this change. > > > > > > > > @Florian: With the three changes I now posted I could build on mac. > > > > > > > > Best regards, > > > > Goetz. > > Looks fine. -- Andrew :) Senior Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Web Site: http://fuseyism.com Twitter: https://twitter.com/gnu_andrew_java PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 From goetz.lindenmaier at sap.com Tue Mar 7 06:07:20 2017 From: goetz.lindenmaier at sap.com (Lindenmaier, Goetz) Date: Tue, 7 Mar 2017 06:07:20 +0000 Subject: [ping] RE: RFR(S): 8175087: [bsd] Fix build after "8024900: PPC64: Enable new build on AIX (jdk part)" In-Reply-To: <1916499821.4171167.1488859021290.JavaMail.zimbra@redhat.com> References: <1916499821.4171167.1488859021290.JavaMail.zimbra@redhat.com> Message-ID: <4eebc543db714aaaae2c0a7a8eed8b25@sap.com> Thanks Andrew! Best regards, Goetz > -----Original Message----- > From: Andrew Hughes [mailto:gnu.andrew at redhat.com] > Sent: Dienstag, 7. M?rz 2017 05:57 > To: Lindenmaier, Goetz > Cc: jdk7u-dev > Subject: Re: [ping] RE: RFR(S): 8175087: [bsd] Fix build after "8024900: PPC64: > Enable new build on AIX (jdk part)" > > > > ----- Original Message ----- > > Hi, > > > > I updated the webrev to be based on u131. > > http://cr.openjdk.java.net/~goetz/wr17/8175087-macErr/webrev.01/ > > > > Best regards, > > Goetz. > > > > > -----Original Message----- > > > From: Lindenmaier, Goetz > > > Sent: Freitag, 17. Februar 2017 10:42 > > > To: jdk7u-dev > > > Cc: 'Florian Bruckner (3kraft)' > > > Subject: RFR(S): 8175087: [bsd] Fix build after "8024900: PPC64: Enable new > > > build on AIX (jdk part)" > > > > > > Hi, > > > > > > Please review this tiny fix. There is a BSD specific section of this code > > > so the code guarded by the #if I fixed may not be compiled on bsd. > > > http://cr.openjdk.java.net/~goetz/wr17/8175087-macErr/webrev.01/ > > > > > > Best regards, > > > Goetz. > > > > > > Sorry for the delay. Looks fine. > > Thanks, > -- > Andrew :) > > Senior Free Java Software Engineer > Red Hat, Inc. (http://www.redhat.com) > > Web Site: http://fuseyism.com > Twitter: https://twitter.com/gnu_andrew_java > PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) > Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 > From goetz.lindenmaier at sap.com Tue Mar 7 06:07:44 2017 From: goetz.lindenmaier at sap.com (Lindenmaier, Goetz) Date: Tue, 7 Mar 2017 06:07:44 +0000 Subject: [ping] RFR(S): 8175163: [bsd] Fix build after "8005629: javac warnings compiling java.awt.EventDispatchThread..." In-Reply-To: <785750458.4171264.1488859053578.JavaMail.zimbra@redhat.com> References: <785750458.4171264.1488859053578.JavaMail.zimbra@redhat.com> Message-ID: <8c7be5d7d0bd4acab2a23bf2695b568c@sap.com> Thanks Andrew! Best regards, Goetz. > -----Original Message----- > From: Andrew Hughes [mailto:gnu.andrew at redhat.com] > Sent: Dienstag, 7. M?rz 2017 05:58 > To: Lindenmaier, Goetz > Cc: jdk7u-dev > Subject: Re: [ping] RFR(S): 8175163: [bsd] Fix build after "8005629: javac > warnings compiling java.awt.EventDispatchThread..." > > > > ----- Original Message ----- > > Hi, > > > > http://cr.openjdk.java.net/~goetz/wr17/8175163-macErr3/webrev.01/ > > I also updated this tob e based on u131. > > > > Best regards, > > Goetz. > > > > > -----Original Message----- > > > From: Lindenmaier, Goetz > > > Sent: Freitag, 17. Februar 2017 10:44 > > > To: jdk7u-dev > > > Cc: 'Florian Bruckner (3kraft)' > > > Subject: RFR(S): 8175163: [bsd] Fix build after "8005629: javac warnings > > > compiling java.awt.EventDispatchThread..." > > > > > > Hi > > > > > > > > > > > > 8005629 removed file EventDispatchAccess.java, but did not remove it from > > > the list of exported files in FILES_export_macosx.gmk. > > > > > > http://cr.openjdk.java.net/~goetz/wr17/8175163-macErr3/webrev.01/ > > > > > > > > > > > > Please review this change. > > > > > > > > > > > > @Florian: With the three changes I now posted I could build on mac. > > > > > > > > > > > > Best regards, > > > > > > Goetz. > > > > > > Looks fine. > -- > Andrew :) > > Senior Free Java Software Engineer > Red Hat, Inc. (http://www.redhat.com) > > Web Site: http://fuseyism.com > Twitter: https://twitter.com/gnu_andrew_java > PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net) > Fingerprint = 5132 579D D154 0ED2 3E04 C5A0 CFDA 0F9B 3596 4222 > From goetz.lindenmaier at sap.com Tue Mar 7 06:11:38 2017 From: goetz.lindenmaier at sap.com (goetz.lindenmaier at sap.com) Date: Tue, 07 Mar 2017 06:11:38 +0000 Subject: hg: jdk7u/jdk7u/jdk: 8175163: [bsd] Fix build after "8005629: javac warnings compiling java.awt.EventDispatchThread..." Message-ID: <201703070611.v276BcJe021251@aojmv0008.oracle.com> Changeset: 7bac544ea453 Author: goetz Date: 2017-02-28 12:12 +0100 URL: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/7bac544ea453 8175163: [bsd] Fix build after "8005629: javac warnings compiling java.awt.EventDispatchThread..." Reviewed-by: andrew ! make/sun/lwawt/FILES_export_macosx.gmk From goetz.lindenmaier at sap.com Tue Mar 7 06:13:50 2017 From: goetz.lindenmaier at sap.com (goetz.lindenmaier at sap.com) Date: Tue, 07 Mar 2017 06:13:50 +0000 Subject: hg: jdk7u/jdk7u/jdk: 8175087: [bsd] Fix build after "8024900: PPC64: Enable new build on AIX (jdk part)" Message-ID: <201703070613.v276DoWX021666@aojmv0008.oracle.com> Changeset: 28c5423c145d Author: goetz Date: 2017-02-16 19:27 +0100 URL: http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/28c5423c145d 8175087: [bsd] Fix build after "8024900: PPC64: Enable new build on AIX (jdk part)" Reviewed-by: andrew ! src/solaris/native/java/net/NetworkInterface.c