From john.coomes at sun.com Sat Apr 3 01:27:43 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Sat, 03 Apr 2010 08:27:43 +0000 Subject: hg: jdk7/hotspot-rt/hotspot: 11 new changesets Message-ID: <20100403082826.0F1D044F5B@hg.openjdk.java.net> Changeset: d4197f8d516a Author: tonyp Date: 2010-03-18 12:14 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/d4197f8d516a 6935821: G1: threads created during marking do not active their SATB queues Summary: Newly-created threads always had the active field of their SATB queue initialized to false, even if they were created during marking. As a result, updates from threads created during a marking cycle were never enqueued and never processed. The fix includes remaining a method from active() to is_active() for readability and naming consistency. Reviewed-by: ysr, johnc ! src/share/vm/gc_implementation/g1/concurrentMark.cpp ! src/share/vm/gc_implementation/g1/g1SATBCardTableModRefBS.cpp ! src/share/vm/gc_implementation/g1/ptrQueue.cpp ! src/share/vm/gc_implementation/g1/ptrQueue.hpp ! src/share/vm/gc_implementation/g1/satbQueue.cpp ! src/share/vm/gc_implementation/g1/satbQueue.hpp Changeset: 4b58861a3570 Author: mikejwre Date: 2010-03-18 13:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/4b58861a3570 Added tag jdk7-b86 for changeset bf823ef06b4f ! .hgtags Changeset: 07226e9eab8f Author: trims Date: 2010-03-18 17:21 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/07226e9eab8f 6936366: Fork HS17 to HS18 - renumber Major and build numbers of JVM Summary: Update the Major and build numbers for HS18 fork Reviewed-by: jcoomes ! make/hotspot_version Changeset: 3deb84ecd19d Author: trims Date: 2010-03-23 20:28 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/3deb84ecd19d Added tag hs18-b01 for changeset 07226e9eab8f ! .hgtags Changeset: e7e7e36ccdb5 Author: trims Date: 2010-03-23 20:37 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/e7e7e36ccdb5 Merge ! .hgtags Changeset: 465c39e1fb46 Author: mikejwre Date: 2010-03-25 15:05 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/465c39e1fb46 Added tag jdk7-b87 for changeset e7e7e36ccdb5 ! .hgtags Changeset: 5c9df1575c39 Author: trims Date: 2010-04-01 16:10 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/5c9df1575c39 Merge Changeset: 096b18156d91 Author: trims Date: 2010-04-01 16:15 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/096b18156d91 6940419: Bump the HS18 build number to 02 Summary: Update the HS18 build number to 02 Reviewed-by: jcoomes ! make/hotspot_version Changeset: 7c358fbb6a84 Author: acorn Date: 2010-04-01 11:23 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/7c358fbb6a84 Merge Changeset: 4b60f23c4223 Author: acorn Date: 2010-04-01 20:48 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/4b60f23c4223 Merge Changeset: 0fd6320854d3 Author: jcoomes Date: 2010-04-02 17:04 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/0fd6320854d3 Merge From Christian.Thalinger at Sun.COM Tue Apr 6 12:59:14 2010 From: Christian.Thalinger at Sun.COM (Christian Thalinger) Date: Tue, 06 Apr 2010 21:59:14 +0200 Subject: [patch] correctly identify Ubuntu as the operating system in crash reports instead of "Debian" In-Reply-To: <4BAB9502.7090008@ubuntu.com> References: <4BAB9502.7090008@ubuntu.com> Message-ID: <1270583954.2639.176.camel@macbook> On Thu, 2010-03-25 at 17:53 +0100, Matthias Klose wrote: > This is applied in the IcedTea builds; now submitted as > https://bugs.openjdk.java.net/show_bug.cgi?id=100137 > > Proposing to apply this to 7 and 6. Maybe one of the runtime guys could have a look at this one. -- Christian From keith.mcguigan at sun.com Thu Apr 8 04:37:48 2010 From: keith.mcguigan at sun.com (keith.mcguigan at sun.com) Date: Thu, 08 Apr 2010 11:37:48 +0000 Subject: hg: jdk7/hotspot-rt/hotspot: 16 new changesets Message-ID: <20100408113845.E91DE4445C@hg.openjdk.java.net> Changeset: fdd57634910e Author: never Date: 2010-03-18 14:31 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/fdd57634910e 6926979: should simplify catch_inline_exception Reviewed-by: twisti ! src/share/vm/opto/doCall.cpp ! src/share/vm/opto/parse.hpp ! src/share/vm/opto/parse1.cpp ! src/share/vm/runtime/globals.hpp Changeset: 747d26efc5fa Author: twisti Date: 2010-03-30 00:57 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/747d26efc5fa 6939180: Zero locking fix Summary: When Zero is running with Shark enabled threads can be left with their _do_not_unlock_if_synchronized flag incorrectly set. Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/cppInterpreter_zero.cpp Changeset: 47742b654fcb Author: twisti Date: 2010-03-31 08:03 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/47742b654fcb 6939731: JSR 292 Zero build fix after 6934494 Summary: The changes of 6934494 have broken the Zero build. Reviewed-by: twisti Contributed-by: Gary Benson ! src/cpu/zero/vm/methodHandles_zero.cpp ! src/cpu/zero/vm/stubRoutines_zero.hpp Changeset: f61d795ce6de Author: never Date: 2010-03-31 11:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/f61d795ce6de 6939845: zero needs fallback path in C++ interpreter for platform dependent fast bytecodes Reviewed-by: never Contributed-by: ed at camswl.com ! src/share/vm/interpreter/bytecodeInterpreter.cpp Changeset: 7f4deda46b04 Author: never Date: 2010-03-31 16:29 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/7f4deda46b04 Merge Changeset: 547cbe6dacc5 Author: never Date: 2010-04-01 16:06 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/547cbe6dacc5 6936709: AsyncGetCallTrace doesn't handle inexact stack walking properly Reviewed-by: kvn ! src/share/vm/prims/forte.cpp Changeset: 1c9c45172908 Author: kvn Date: 2010-04-02 11:55 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/1c9c45172908 6939804: ciConstant::print() prints incorrect bool value Summary: Fix typo. Reviewed-by: never ! src/share/vm/ci/ciConstant.cpp Changeset: 9bb91718aaf2 Author: kvn Date: 2010-04-02 15:55 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/9bb91718aaf2 Merge ! src/share/vm/runtime/globals.hpp Changeset: b5d78a3b8843 Author: kvn Date: 2009-12-03 14:20 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/b5d78a3b8843 6892265: System.arraycopy unable to reference elements beyond Integer.MAX_VALUE bytes Summary: Use size_t type cast to widen int values in typeArrayKlass::copy_array(). Reviewed-by: never, jcoomes ! src/share/vm/oops/typeArrayKlass.cpp + test/compiler/6892265/Test.java Changeset: ae4032fb0a5b Author: kvn Date: 2010-01-21 10:07 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/ae4032fb0a5b 6894807: No ClassCastException for HashAttributeSet constructors if run with -Xcomp Summary: Return interface klass type if it is exact. Reviewed-by: never ! src/share/vm/opto/cfgnode.cpp ! src/share/vm/opto/type.cpp Changeset: 0c3f888b7636 Author: acorn Date: 2010-01-19 16:03 -0500 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/0c3f888b7636 6626217: Fixed loader constraint array handling Summary: Loader constraints track array elements, not arrays themselves. Reviewed-by: dcubed, kevinw ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/classfile/loaderConstraints.cpp ! src/share/vm/classfile/loaderConstraints.hpp ! src/share/vm/classfile/systemDictionary.cpp Changeset: 3d531bbe5917 Author: acorn Date: 2010-01-28 13:59 -0500 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/3d531bbe5917 Merge Changeset: f5dd08ad65df Author: acorn Date: 2010-03-15 15:51 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/f5dd08ad65df 6932480: Fix crash in CompilerThread/Parser. Unloaded array klass? Summary: Restore code deleted in 6626217 Reviewed-by: asaha, kevinw ! src/share/vm/ci/ciEnv.cpp Changeset: 09ac706c2623 Author: asaha Date: 2010-03-24 17:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/09ac706c2623 Merge ! src/share/vm/ci/ciEnv.cpp ! src/share/vm/classfile/loaderConstraints.cpp ! src/share/vm/classfile/loaderConstraints.hpp ! src/share/vm/classfile/systemDictionary.cpp - src/share/vm/gc_implementation/g1/ptrQueue.inline.hpp ! src/share/vm/opto/type.cpp Changeset: 895d9ade6111 Author: asaha Date: 2010-04-06 22:06 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/895d9ade6111 Merge ! src/share/vm/opto/type.cpp Changeset: 6ccd32c284ac Author: kamg Date: 2010-04-07 12:28 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/6ccd32c284ac Merge From imdupeng at gmail.com Thu Apr 8 13:05:04 2010 From: imdupeng at gmail.com (Peng Du) Date: Thu, 8 Apr 2010 15:05:04 -0500 Subject: About frame::retrieve_receiver() In-Reply-To: References: Message-ID: ps. Sorry for cross-posting from hotspot-dev to here. I really couldn't solve the problem on my own and no one has responded on hotspot-dev for quite a while. I need to solve it ASAP for my work to move on. Please help! Thank you! ~~~~~~~~~~~~~~~~~~ Hi, I have been fighting with this problem for yet another day with no luck. The error case happens when both the caller and callee are in compiled Java frames. The backtrace tells me a SIGSEGV happens at this line: ==== in frame.cpp:1132: oop r = *caller.oopmapreg_to_location(reg, reg_map) ==== as oopmapreg_to_location() returned a NULL which is dereferenced. Can someone comment on the error? Thank you! -Peng On Wed, Apr 7, 2010 at 2:02 AM, Peng Du wrote: > Hello, > > What is the right way to get the receiver object of a Java method call in > the > VM code, considering both the caller, callee can either be interpreted or > compiled? > > I tried using the "frame" class and it does have many methods for querying > an interpreted frame, e.g. interpreter_callee_receiver(). But not for > compiled > frame. > > By learning related code in SharedRuntime, I wrote the following method. It > > works for some calls but fails for the others. Can someone point out what > I have done wrong with the code? > > Thanks! > > ================ > static oop retrieve_receiver(JavaThread *thread) { > HandleMark rm(Thread::current()); > frame stub = thread->last_frame(); > > if (!stub.is_java_frame()) > stub = stub.java_sender(); > > RegisterMap reg_map(thread); > frame caller = stub.sender(®_map); > > if (caller.is_compiled_frame()) { > return caller.retrieve_receiver(®_map); > } > else { // interpreted > methodOop method; > if (stub.is_compiled_frame()) > method = thread->callee_target(); // i2c will set this? > else > method = stub.interpreter_frame_method(); > > return caller.interpreter_callee_receiver(method->signature()); > } > } > > > - Peng > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20100408/e548c878/attachment.html From john.coomes at sun.com Fri Apr 9 02:22:16 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Fri, 09 Apr 2010 09:22:16 +0000 Subject: hg: jdk7/hotspot-rt: Added tag jdk7-b88 for changeset 82135c848d5f Message-ID: <20100409092216.F03D2444AB@hg.openjdk.java.net> Changeset: 9d9097eb4b5a Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/9d9097eb4b5a Added tag jdk7-b88 for changeset 82135c848d5f ! .hgtags From john.coomes at sun.com Fri Apr 9 02:22:21 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Fri, 09 Apr 2010 09:22:21 +0000 Subject: hg: jdk7/hotspot-rt/corba: Added tag jdk7-b88 for changeset 39e14d2da687 Message-ID: <20100409092224.B4046444AC@hg.openjdk.java.net> Changeset: bb4424c5e778 Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/corba/rev/bb4424c5e778 Added tag jdk7-b88 for changeset 39e14d2da687 ! .hgtags From john.coomes at sun.com Fri Apr 9 02:25:45 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Fri, 09 Apr 2010 09:25:45 +0000 Subject: hg: jdk7/hotspot-rt/jaxp: Added tag jdk7-b88 for changeset d8ebd1591003 Message-ID: <20100409092545.50681444AD@hg.openjdk.java.net> Changeset: d2818fd2b036 Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxp/rev/d2818fd2b036 Added tag jdk7-b88 for changeset d8ebd1591003 ! .hgtags From john.coomes at sun.com Fri Apr 9 02:25:51 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Fri, 09 Apr 2010 09:25:51 +0000 Subject: hg: jdk7/hotspot-rt/jaxws: Added tag jdk7-b88 for changeset 8c666f8f3565 Message-ID: <20100409092551.D1884444AE@hg.openjdk.java.net> Changeset: bf3675aa7f20 Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxws/rev/bf3675aa7f20 Added tag jdk7-b88 for changeset 8c666f8f3565 ! .hgtags From john.coomes at sun.com Fri Apr 9 02:25:59 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Fri, 09 Apr 2010 09:25:59 +0000 Subject: hg: jdk7/hotspot-rt/jdk: Added tag jdk7-b88 for changeset b3c69282f6d3 Message-ID: <20100409092646.42A4A444AF@hg.openjdk.java.net> Changeset: b50cfd4479fa Author: mikejwre Date: 2010-04-08 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/b50cfd4479fa Added tag jdk7-b88 for changeset b3c69282f6d3 ! .hgtags From john.coomes at sun.com Fri Apr 9 02:29:52 2010 From: john.coomes at sun.com (john.coomes at sun.com) Date: Fri, 09 Apr 2010 09:29:52 +0000 Subject: hg: jdk7/hotspot-rt/langtools: Added tag jdk7-b88 for changeset f9b5d4867a26 Message-ID: <20100409092959.3F658444B0@hg.openjdk.java.net> Changeset: 737185f3300f Author: mikejwre Date: 2010-04-08 17:03 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/737185f3300f Added tag jdk7-b88 for changeset f9b5d4867a26 ! .hgtags From stas.oskin at gmail.com Fri Apr 16 13:31:36 2010 From: stas.oskin at gmail.com (Stas Oskin) Date: Fri, 16 Apr 2010 23:31:36 +0300 Subject: JVM hangs beyond recovery Message-ID: Hi. I hit a possible deadlock in JVM, which causes my JNI application to hang. It happens usually on start-up, and the JVM just stuck, jstack and other tools are not working and the only option is to get a threads dump via GDB. Attached below is a sample of such dump. As you can see, there are two concurrent compiling threads, while the JNI code executes. Any chance that this causes the hang? Can anyone tell if this is a known issue, and there is any workaround? Thanks in advance! http://pastie.org/923725 0x0000003c71607955 in pthread_join () from /lib64/libpthread.so.0 40 Thread 0x41234940 (LWP 20847) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 39 Thread 0x40640940 (LWP 20849) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 38 Thread 0x41345940 (LWP 20850) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 37 Thread 0x41446940 (LWP 20851) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 36 Thread 0x41ab2940 (LWP 20852) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 35 Thread 0x42055940 (LWP 20853) 0x0000003c7160af70 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 34 Thread 0x41970940 (LWP 20854) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 33 Thread 0x41bb3940 (LWP 20855) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 32 Thread 0x41cb4940 (LWP 20856) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 31 Thread 0x403e2940 (LWP 20857) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 30 Thread 0x40ee5940 (LWP 20858) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 29 Thread 0x40fe6940 (LWP 20859) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 28 Thread 0x416ab940 (LWP 20860) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 27 Thread 0x417ac940 (LWP 20861) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 26 Thread 0x41db5940 (LWP 20862) 0x0000003c7160af70 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 25 Thread 0x410e9940 (LWP 20863) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 24 Thread 0x41eb6940 (LWP 20865) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 23 Thread 0x42156940 (LWP 20866) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 22 Thread 0x42257940 (LWP 20867) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 21 Thread 0x42358940 (LWP 20868) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 20 Thread 0x42459940 (LWP 20869) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 19 Thread 0x41547940 (LWP 20870) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 18 Thread 0x4255a940 (LWP 20871) 0x0000003c7160d95b in accept () from /lib64/libpthread.so.0 17 Thread 0x4265b940 (LWP 20872) 0x0000003c7160d95b in accept () from /lib64/libpthread.so.0 16 Thread 0x40cc0940 (LWP 20873) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 15 Thread 0x4275c940 (LWP 20874) 0x0000003c70ad4018 in epoll_wait () from /lib64/libc.so.6 14 Thread 0x4285d940 (LWP 20875) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 13 Thread 0x4295e940 (LWP 20876) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 12 Thread 0x42b60940 (LWP 20878) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 11 Thread 0x42c61940 (LWP 20879) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 10 Thread 0x42d62940 (LWP 20880) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 9 Thread 0x42e63940 (LWP 20881) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 8 Thread 0x42f64940 (LWP 20882) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 7 Thread 0x43065940 (LWP 20886) 0x0000003c7160d2e4 in __lll_lock_wait () from /lib64/libpthread.so.0 6 Thread 0x43166940 (LWP 20887) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 5 Thread 0x43267940 (LWP 20888) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 4 Thread 0x43368940 (LWP 20889) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 3 Thread 0x43469940 (LWP 20890) 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 2 Thread 0x44a19940 (LWP 20891) 0x0000003c7160af70 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 * 1 Thread 0x2ba36feee5c0 (LWP 20843) 0x0000003c71607955 in pthread_join () from /lib64/libpthread.so.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20100416/1a248077/attachment.html From y.s.ramakrishna at oracle.com Fri Apr 16 14:19:15 2010 From: y.s.ramakrishna at oracle.com (Y. Srinivas Ramakrishna) Date: Fri, 16 Apr 2010 14:19:15 -0700 Subject: JVM hangs beyond recovery In-Reply-To: References: Message-ID: <4BC8D453.1010702@oracle.com> The JVM appears to be hung trying to reach a safepoint:- Thread 34 (Thread 0x41970940 (LWP 20854)): #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00002ba3704859f7 in os::PlatformEvent::park () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #2 0x00002ba37045ea92 in Monitor::IWait () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #3 0x00002ba37045f25e in Monitor::wait () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #4 0x00002ba3704ef56d in SafepointSynchronize::begin () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #5 0x00002ba3705b9968 in VMThread::loop () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #6 0x00002ba3705b946e in VMThread::run () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #7 0x00002ba37048626f in java_start () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #8 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 #9 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 There are a couple of safepoint debugging options that you can try (check globals.hpp, especially [Print]Safepoint[Timeout*]). I'll let the safepoint cognoscenti help with more detailed debugging advice etc. [Make sure to provide them with the JDK version string.] over and out. -- ramki On 04/16/10 13:31, Stas Oskin wrote: > Hi. > > I hit a possible deadlock in JVM, which causes my JNI application to hang. > > It happens usually on start-up, and the JVM just stuck, jstack and other > tools are not working and the only option is to get a threads dump via GDB. > > Attached below is a sample of such dump. > As you can see, there are two concurrent compiling threads, while the > JNI code executes. > > Any chance that this causes the hang? > Can anyone tell if this is a known issue, and there is any workaround? > > Thanks in advance! > > http://pastie.org/923725 > > > 0x0000003c71607955 in pthread_join () from /lib64/libpthread.so.0 > 40 Thread 0x41234940 (LWP 20847) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 39 Thread 0x40640940 (LWP 20849) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 38 Thread 0x41345940 (LWP 20850) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 37 Thread 0x41446940 (LWP 20851) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 36 Thread 0x41ab2940 (LWP 20852) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 35 Thread 0x42055940 (LWP 20853) 0x0000003c7160af70 in > pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 34 Thread 0x41970940 (LWP 20854) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 33 Thread 0x41bb3940 (LWP 20855) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 32 Thread 0x41cb4940 (LWP 20856) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 31 Thread 0x403e2940 (LWP 20857) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 30 Thread 0x40ee5940 (LWP 20858) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 29 Thread 0x40fe6940 (LWP 20859) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 28 Thread 0x416ab940 (LWP 20860) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 27 Thread 0x417ac940 (LWP 20861) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 26 Thread 0x41db5940 (LWP 20862) 0x0000003c7160af70 in > pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 25 Thread 0x410e9940 (LWP 20863) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 24 Thread 0x41eb6940 (LWP 20865) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 23 Thread 0x42156940 (LWP 20866) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 22 Thread 0x42257940 (LWP 20867) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 21 Thread 0x42358940 (LWP 20868) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 20 Thread 0x42459940 (LWP 20869) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 19 Thread 0x41547940 (LWP 20870) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 18 Thread 0x4255a940 (LWP 20871) 0x0000003c7160d95b in accept () > from /lib64/libpthread.so.0 > 17 Thread 0x4265b940 (LWP 20872) 0x0000003c7160d95b in accept () > from /lib64/libpthread.so.0 > 16 Thread 0x40cc0940 (LWP 20873) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 15 Thread 0x4275c940 (LWP 20874) 0x0000003c70ad4018 in epoll_wait () > from /lib64/libc.so.6 > 14 Thread 0x4285d940 (LWP 20875) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 13 Thread 0x4295e940 (LWP 20876) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 12 Thread 0x42b60940 (LWP 20878) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 11 Thread 0x42c61940 (LWP 20879) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 10 Thread 0x42d62940 (LWP 20880) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 9 Thread 0x42e63940 (LWP 20881) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 8 Thread 0x42f64940 (LWP 20882) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 7 Thread 0x43065940 (LWP 20886) 0x0000003c7160d2e4 in __lll_lock_wait () > from /lib64/libpthread.so.0 > 6 Thread 0x43166940 (LWP 20887) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 5 Thread 0x43267940 (LWP 20888) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 4 Thread 0x43368940 (LWP 20889) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 3 Thread 0x43469940 (LWP 20890) 0x0000003c7160ad09 in > pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > 2 Thread 0x44a19940 (LWP 20891) 0x0000003c7160af70 in > pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 > * 1 Thread 0x2ba36feee5c0 (LWP 20843) 0x0000003c71607955 in pthread_join () > from /lib64/libpthread.so.0 From john.coomes at oracle.com Fri Apr 16 14:28:50 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 16 Apr 2010 21:28:50 +0000 Subject: hg: jdk7/hotspot-rt: 7 new changesets Message-ID: <20100416212850.EE5B0445C7@hg.openjdk.java.net> Changeset: bbd817429100 Author: jjg Date: 2010-03-12 15:22 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/bbd817429100 6934712: run langtools jtreg tests from top level test/Makefile Reviewed-by: ohair ! test/Makefile Changeset: c60ed0f6d91a Author: ohair Date: 2010-03-12 17:44 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/c60ed0f6d91a 6934759: Add langtools testing to jprt control builds Reviewed-by: jjg ! make/jprt.properties Changeset: 98505d97a822 Author: lana Date: 2010-03-18 18:50 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/98505d97a822 Merge Changeset: 35d272ef7598 Author: ohair Date: 2010-03-19 18:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/35d272ef7598 6936788: Minor adjustment to top repo test/Makefile, missing non-zero exit case Reviewed-by: jjg ! test/Makefile Changeset: b1c3b0e44b9d Author: lana Date: 2010-04-08 15:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/b1c3b0e44b9d Merge Changeset: 7f1ba4459972 Author: lana Date: 2010-04-13 16:35 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/7f1ba4459972 Merge Changeset: 425ba3efabbf Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/425ba3efabbf Added tag jdk7-b89 for changeset 7f1ba4459972 ! .hgtags From john.coomes at oracle.com Fri Apr 16 14:28:56 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 16 Apr 2010 21:28:56 +0000 Subject: hg: jdk7/hotspot-rt/corba: Added tag jdk7-b89 for changeset bb4424c5e778 Message-ID: <20100416212859.953FF445C8@hg.openjdk.java.net> Changeset: 56ce07b0eb47 Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/corba/rev/56ce07b0eb47 Added tag jdk7-b89 for changeset bb4424c5e778 ! .hgtags From john.coomes at oracle.com Fri Apr 16 14:32:43 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 16 Apr 2010 21:32:43 +0000 Subject: hg: jdk7/hotspot-rt/jaxp: Added tag jdk7-b89 for changeset d2818fd2b036 Message-ID: <20100416213243.6BDFD445C9@hg.openjdk.java.net> Changeset: c5d932ee326d Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxp/rev/c5d932ee326d Added tag jdk7-b89 for changeset d2818fd2b036 ! .hgtags From john.coomes at oracle.com Fri Apr 16 14:32:49 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 16 Apr 2010 21:32:49 +0000 Subject: hg: jdk7/hotspot-rt/jaxws: Added tag jdk7-b89 for changeset bf3675aa7f20 Message-ID: <20100416213249.44848445CA@hg.openjdk.java.net> Changeset: ead7c4566a00 Author: mikejwre Date: 2010-04-15 13:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxws/rev/ead7c4566a00 Added tag jdk7-b89 for changeset bf3675aa7f20 ! .hgtags From john.coomes at oracle.com Fri Apr 16 14:36:54 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 16 Apr 2010 21:36:54 +0000 Subject: hg: jdk7/hotspot-rt/jdk: 77 new changesets Message-ID: <20100416220115.88459445CB@hg.openjdk.java.net> Changeset: 0137b5857c63 Author: okutsu Date: 2010-03-10 14:32 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0137b5857c63 6932473: (tz) javazic produces incorrect SimpleTimeZone parameters with Sun<=7 Reviewed-by: peytoia ! make/tools/src/build/tools/javazic/RuleDay.java Changeset: 0e0ce1aa1bba Author: peytoia Date: 2010-03-11 11:54 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0e0ce1aa1bba 6933032: (tz) Support tzdata2010e Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/australasia ! make/sun/javazic/tzdata/southamerica Changeset: ce3770eadf85 Author: malenkov Date: 2010-03-11 17:39 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ce3770eadf85 6707226: java.beans.Statement & java.beans.Expression miss one important usecase Reviewed-by: rupashka ! src/share/classes/java/beans/Expression.java ! src/share/classes/java/beans/Statement.java + test/java/beans/Statement/Test6707226.java Changeset: d86c053ca938 Author: rupashka Date: 2010-03-15 16:16 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/d86c053ca938 6931347: SynthTabbedPaneUI.paintTabArea() is not called when tabbed pane is painted Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java Changeset: 1224c1388e86 Author: rupashka Date: 2010-03-17 12:48 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/1224c1388e86 6933784: NIMBUS: ImageView getNoImageIcon and getLoadingImageIcon returns nulls instead of an icon Reviewed-by: peterz ! src/share/classes/javax/swing/plaf/synth/SynthLookAndFeel.java + test/javax/swing/plaf/synth/Test6933784.java Changeset: ac4c8e3bf93f Author: lana Date: 2010-03-17 14:19 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ac4c8e3bf93f Merge - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: 325823a26aac Author: peterz Date: 2010-03-18 12:02 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/325823a26aac 6932524: NIMBUS: 3 constructors of JSplitPane creates new jsp with continuous layout - they should not. Reviewed-by: alexp ! src/share/classes/javax/swing/JSplitPane.java ! src/share/classes/javax/swing/plaf/nimbus/skin.laf Changeset: ef892cd084ec Author: rupashka Date: 2010-03-24 15:14 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ef892cd084ec 6922214: SynthTextPaneUI.installUI() doesn't install the default caret and highlighter Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/basic/BasicTextUI.java Changeset: f799c62ad4f8 Author: peytoia Date: 2010-03-30 18:35 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f799c62ad4f8 6939021: (tz) Support tzdata2010g Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/antarctica ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/australasia ! make/sun/javazic/tzdata/europe ! make/sun/javazic/tzdata/zone.tab ! src/share/classes/sun/util/resources/TimeZoneNames.java Changeset: dbde35ddda78 Author: peytoia Date: 2010-03-30 21:16 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/dbde35ddda78 6907881: Different undesired behavior for entering Asian characters in Windows IME starting with Java 6.0 Reviewed-by: okutsu ! src/windows/native/sun/windows/awt_Component.cpp Changeset: eb39ccbd95f9 Author: lana Date: 2010-04-08 15:00 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/eb39ccbd95f9 Merge Changeset: d23dcd3e3ce4 Author: andrew Date: 2010-03-12 01:09 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/d23dcd3e3ce4 6934327: Update linux fontconfigs for Ubuntu and Fedora. Summary: Use fontconfigs suitable for recent Fedora, Ubuntu and Debian releases. Reviewed-by: prr ! src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Fedora.properties ! src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties Changeset: 45bd445f6250 Author: lana Date: 2010-03-19 18:49 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/45bd445f6250 Merge - make/java/text/FILES_java.gmk - test/java/nio/file/WatchService/OverflowEventIsLoner.java Changeset: bf23bec88222 Author: lana Date: 2010-04-08 15:01 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/bf23bec88222 Merge Changeset: 47958f76babc Author: chegar Date: 2010-03-10 14:44 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/47958f76babc 6933618: java/net/MulticastSocket/NoLoopbackPackets.java fails when rerun Reviewed-by: alanb ! test/java/net/MulticastSocket/NoLoopbackPackets.java Changeset: 467484e025d6 Author: martin Date: 2010-03-10 14:53 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/467484e025d6 6931812: A better implementation of sun.nio.cs.Surrogate.isBMP(int) Summary: uc >> 16 == 0 is superior to (int) (char) uc == uc Reviewed-by: sherman Contributed-by: Ulf Zibis ! src/share/classes/sun/nio/cs/Surrogate.java Changeset: 07e1c5a90c6a Author: chegar Date: 2010-03-11 16:17 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/07e1c5a90c6a 6934054: java/net/Socket/FDClose.java return error in samevm Summary: test is no longer useful Reviewed-by: alanb ! test/ProblemList.txt - test/java/net/Socket/FDClose.java Changeset: c342735a3e58 Author: chegar Date: 2010-03-11 17:37 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c342735a3e58 6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode Reviewed-by: alanb ! test/ProblemList.txt ! test/java/net/CookieHandler/CookieHandlerTest.java Changeset: c6f8c58ed51a Author: chegar Date: 2010-03-11 17:50 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c6f8c58ed51a 6223635: Code hangs at connect call even when Timeout is specified when using a socks proxy Reviewed-by: michaelm, chegar Contributed-by: damjan.jov at gmail.com ! src/share/classes/java/net/SocketInputStream.java ! src/share/classes/java/net/SocksSocketImpl.java + test/java/net/Socket/SocksConnectTimeout.java Changeset: ee385b4e2ffb Author: sherman Date: 2010-03-11 14:06 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ee385b4e2ffb 6929479: Add a system property sun.zip.disableMemoryMapping to disable mmap use in ZipFile Summary: system property sun.zip.disableMemoryMapping to disable mmap use Reviewed-by: alanb ! src/share/classes/java/util/zip/ZipFile.java ! src/share/native/java/util/zip/ZipFile.c ! src/share/native/java/util/zip/zip_util.c ! src/share/native/java/util/zip/zip_util.h Changeset: bf6eb240e718 Author: ohair Date: 2010-03-12 09:03 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/bf6eb240e718 6933294: Fix some test/Makefile issues around Linux ARCH settings, better defaults Reviewed-by: jjg ! test/Makefile ! test/ProblemList.txt Changeset: cda90ceb7176 Author: ohair Date: 2010-03-12 09:06 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/cda90ceb7176 Merge ! test/ProblemList.txt Changeset: f88f6f8ddd21 Author: chegar Date: 2010-03-16 10:05 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f88f6f8ddd21 6934923: test/java/net/ipv6tests/TcpTest.java hangs on Solaris 10 Reviewed-by: alanb ! test/java/net/ipv6tests/TcpTest.java ! test/java/net/ipv6tests/Tests.java Changeset: 895a1211b2e1 Author: chegar Date: 2010-03-16 14:31 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/895a1211b2e1 6935199: java/net regression tests failing with Assertions Reviewed-by: michaelm ! test/ProblemList.txt ! test/java/net/CookieHandler/TestHttpCookie.java ! test/java/net/URLClassLoader/closetest/CloseTest.java Changeset: 0500f7306cbe Author: weijun Date: 2010-03-17 09:55 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0500f7306cbe 6868865: Test: sun/security/tools/jarsigner/oldsig.sh fails under all platforms Reviewed-by: wetmore ! test/sun/security/tools/jarsigner/oldsig.sh Changeset: 2796f839e337 Author: weijun Date: 2010-03-18 18:26 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/2796f839e337 6829283: HTTP/Negotiate: Autheticator triggered again when user cancels the first one Reviewed-by: chegar ! src/share/classes/sun/net/www/protocol/http/spnego/NegotiateCallbackHandler.java ! test/sun/security/krb5/auto/HttpNegotiateServer.java Changeset: c52f292a8f86 Author: valeriep Date: 2010-03-18 17:05 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c52f292a8f86 6695485: SignedObject constructor throws ProviderException if it's called using provider "SunPKCS11-Solaris" Summary: Added checking for RSA key lengths in initSign and initVerify Reviewed-by: vinnie ! src/share/classes/sun/security/pkcs11/P11Signature.java + test/sun/security/pkcs11/Signature/TestRSAKeyLength.java Changeset: df5714cbe76d Author: valeriep Date: 2010-03-18 17:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/df5714cbe76d 6591117: Poor preformance of PKCS#11 security provider compared to Sun default provider Summary: Added internal buffering to PKCS11 SecureRandom impl Reviewed-by: wetmore ! src/share/classes/sun/security/pkcs11/P11SecureRandom.java Changeset: dc42c9d9ca16 Author: valeriep Date: 2010-03-18 17:56 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/dc42c9d9ca16 6837847: PKCS#11 A SecureRandom and a serialization error following installation of 1.5.0_18 Summary: Added a custom readObject method to PKCS11 SecureRandom impl Reviewed-by: wetmore ! src/share/classes/sun/security/pkcs11/P11SecureRandom.java + test/sun/security/pkcs11/SecureRandom/TestDeserialization.java Changeset: dff4f51b73d4 Author: lana Date: 2010-03-18 18:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/dff4f51b73d4 Merge Changeset: 3bb93c410f41 Author: chegar Date: 2010-03-19 13:07 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/3bb93c410f41 6935233: java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java fails with modules build Reviewed-by: alanb ! test/ProblemList.txt ! test/java/net/ServerSocket/AcceptCauseFileDescriptorLeak.java + test/java/net/ServerSocket/AcceptCauseFileDescriptorLeak.sh Changeset: c40572afb29e Author: chegar Date: 2010-03-22 11:55 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c40572afb29e 6632169: HttpClient and HttpsClient should not try to reverse lookup IP address of a proxy server Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/https/HttpsClient.java Changeset: 31dcf23042f9 Author: weijun Date: 2010-03-23 10:41 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/31dcf23042f9 6586707: NTLM authentication with proxy fails Reviewed-by: chegar ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java Changeset: 8a9ebdc27045 Author: chegar Date: 2010-03-23 13:54 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/8a9ebdc27045 6614957: HttpsURLConnection not using the set SSLSocketFactory for creating all its Sockets 6771432: createSocket() - smpatch fails using 1.6.0_10 because of "Unconnected sockets not implemented" 6766775: X509 certificate hostname checking is broken in JDK1.6.0_10 Summary: All three bugs are interdependent Reviewed-by: xuelei ! src/share/classes/javax/net/SocketFactory.java ! src/share/classes/sun/net/NetworkClient.java ! src/share/classes/sun/net/www/protocol/https/HttpsClient.java ! src/share/classes/sun/security/ssl/SSLSocketImpl.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsCreateSockTest.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsSocketFacTest.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java + test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Identities.java Changeset: f8c9a5e3f5db Author: dcubed Date: 2010-03-23 19:03 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f8c9a5e3f5db 6915365: 3/4 assert(false,"Unsupported VMGlobal Type") at management.cpp:1540 Summary: Remove exception throw to decouple JDK and HotSpot additions of known types. Reviewed-by: mchung ! src/share/native/sun/management/Flag.c Changeset: 26477628f2d5 Author: weijun Date: 2010-03-25 12:07 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/26477628f2d5 6813340: X509Factory should not depend on is.available()==0 Reviewed-by: xuelei ! src/share/classes/sun/security/provider/X509Factory.java ! src/share/classes/sun/security/tools/KeyTool.java + test/java/security/cert/CertificateFactory/ReturnStream.java + test/java/security/cert/CertificateFactory/SlowStream.java + test/java/security/cert/CertificateFactory/slowstream.sh Changeset: 6109b166bf68 Author: chegar Date: 2010-03-25 09:38 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/6109b166bf68 6937703: java/net regression test issues with samevm Reviewed-by: alanb ! test/ProblemList.txt ! test/java/net/ProxySelector/B6737819.java ! test/java/net/ResponseCache/ResponseCacheTest.java ! test/java/net/ResponseCache/getResponseCode.java ! test/java/net/URL/TestIPv6Addresses.java ! test/java/net/URLClassLoader/HttpTest.java ! test/java/net/URLConnection/B5052093.java ! test/java/net/URLConnection/contentHandler/UserContentHandler.java Changeset: 31517a0345d1 Author: xuelei Date: 2010-03-29 13:27 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/31517a0345d1 6693917: regression tests need to update for supporting ECC on solaris 11 Reviewed-by: weijun ! test/sun/security/ssl/etc/keystore ! test/sun/security/ssl/etc/truststore ! test/sun/security/ssl/sanity/ciphersuites/CheckCipherSuites.java Changeset: 3771ac2a8b3b Author: sherman Date: 2010-03-30 19:10 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/3771ac2a8b3b 6902790: Converting/displaying HKSCs characters issue on Vista and Windows7 6911753: NSN wants to add Big5 HKSCS-2004 support Summary: support HKSCS2008 in Big5_HKSCS and MS950_HKSCS Reviewed-by: okutsu ! make/sun/nio/cs/FILES_java.gmk ! make/sun/nio/cs/Makefile + make/tools/CharsetMapping/Big5.c2b + make/tools/CharsetMapping/Big5.map + make/tools/CharsetMapping/Big5.nr + make/tools/CharsetMapping/HKSCS2001.c2b + make/tools/CharsetMapping/HKSCS2001.map + make/tools/CharsetMapping/HKSCS2008.c2b + make/tools/CharsetMapping/HKSCS2008.map + make/tools/CharsetMapping/HKSCS_XP.c2b + make/tools/CharsetMapping/HKSCS_XP.map ! make/tools/CharsetMapping/dbcs - make/tools/src/build/tools/charsetmapping/CharsetMapping.java + make/tools/src/build/tools/charsetmapping/DBCS.java + make/tools/src/build/tools/charsetmapping/EUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java + make/tools/src/build/tools/charsetmapping/HKSCS.java + make/tools/src/build/tools/charsetmapping/JIS0213.java ! make/tools/src/build/tools/charsetmapping/Main.java + make/tools/src/build/tools/charsetmapping/SBCS.java + make/tools/src/build/tools/charsetmapping/Utils.java ! src/share/classes/sun/awt/HKSCS.java ! src/share/classes/sun/io/ByteToCharBig5.java ! src/share/classes/sun/io/ByteToCharBig5_HKSCS.java ! src/share/classes/sun/io/ByteToCharBig5_Solaris.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java ! src/share/classes/sun/io/ByteToCharMS950_HKSCS.java ! src/share/classes/sun/io/CharToByteBig5.java ! src/share/classes/sun/io/CharToByteBig5_HKSCS.java ! src/share/classes/sun/io/CharToByteBig5_Solaris.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java ! src/share/classes/sun/io/CharToByteMS950_HKSCS.java - src/share/classes/sun/nio/cs/ext/Big5.java ! src/share/classes/sun/nio/cs/ext/Big5_HKSCS.java + src/share/classes/sun/nio/cs/ext/Big5_HKSCS_2001.java ! src/share/classes/sun/nio/cs/ext/Big5_Solaris.java ! src/share/classes/sun/nio/cs/ext/ExtendedCharsets.java ! src/share/classes/sun/nio/cs/ext/HKSCS.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java ! src/share/classes/sun/nio/cs/ext/MS950_HKSCS.java + src/share/classes/sun/nio/cs/ext/MS950_HKSCS_XP.java ! src/solaris/classes/sun/awt/fontconfigs/solaris.fontconfig.properties ! src/solaris/native/java/lang/java_props_md.c ! src/windows/classes/sun/awt/windows/fontconfig.properties ! src/windows/native/java/lang/java_props_md.c ! test/java/nio/charset/Charset/NIOCharsetAvailabilityTest.java ! test/java/nio/charset/Charset/RegisteredCharsets.java Changeset: 1105276dbd6a Author: sherman Date: 2010-04-03 18:29 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/1105276dbd6a 4947220: (process)Runtime.exec() cannot invoke applications with unicode parameters(win) Summary: to use CreateProcessW on Windowns platform Reviewed-by: martin ! src/share/native/java/lang/System.c ! src/share/native/java/lang/java_props.h ! src/solaris/native/java/lang/java_props_md.c ! src/windows/native/java/lang/ProcessImpl_md.c ! src/windows/native/java/lang/java_props_md.c ! test/java/lang/ProcessBuilder/Basic.java Changeset: d3309aae68ef Author: dl Date: 2009-10-06 12:20 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/d3309aae68ef 6888149: AtomicReferenceArray causes SIGSEGV -> SEGV_MAPERR error Summary: Avoid integer overflow by using long arithmetic Reviewed-by: martin, dholmes ! src/share/classes/java/util/concurrent/atomic/AtomicIntegerArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicLongArray.java ! src/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java Changeset: 08f57141c305 Author: asaha Date: 2009-11-20 14:24 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/08f57141c305 Merge - test/sun/tools/native2ascii/test2 Changeset: b1e8f41ed755 Author: chegar Date: 2009-11-23 12:40 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/b1e8f41ed755 6639665: ThreadGroup finalizer allows creation of false root ThreadGroups Reviewed-by: alanb, hawtin ! src/share/classes/java/lang/ThreadGroup.java Changeset: e943f6b0b0e9 Author: alanb Date: 2009-11-25 10:02 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/e943f6b0b0e9 6736390: File TOCTOU deserialization vulnerability Reviewed-by: hawtin ! src/share/classes/java/io/File.java Changeset: ff9c2f53594e Author: sherman Date: 2009-11-25 11:29 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ff9c2f53594e 6745393: Inflater/Deflater clone issue Summary: To use explicit lobk object. Reviewed-by: alanb ! src/share/classes/java/util/zip/Deflater.java ! src/share/classes/java/util/zip/Inflater.java ! src/share/native/java/util/zip/Deflater.c ! src/share/native/java/util/zip/Inflater.c Changeset: d893f890b4dd Author: sherman Date: 2009-11-25 12:51 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/d893f890b4dd 6904925: Changeset for 6745393 for jdk7 ssr forest was incomplete Summary: To add, commit and push back the ZStreamRef.java Reviewed-by: alanb + src/share/classes/java/util/zip/ZStreamRef.java Changeset: df3091222715 Author: mchung Date: 2009-11-25 09:09 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/df3091222715 6893947: Deserialization of RMIConnectionImpl objects should enforce stricter checks [ZDI-CAN-588] Summary: narrow the doPrivileged block to only set context ClassLoader Reviewed-by: hawtin, emcmanus ! src/share/classes/javax/management/remote/rmi/RMIConnectionImpl.java Changeset: bc309e9233ce Author: mchung Date: 2009-11-25 11:19 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/bc309e9233ce Merge Changeset: 621edf6b03fc Author: mchung Date: 2009-11-25 16:02 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/621edf6b03fc Merge Changeset: 338c8775f0a3 Author: asaha Date: 2009-11-26 07:17 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/338c8775f0a3 Merge Changeset: f0b63b6d9709 Author: asaha Date: 2009-12-01 08:55 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f0b63b6d9709 Merge - test/tools/launcher/SolarisDataModel.sh - test/tools/launcher/SolarisRunpath.sh - test/tools/launcher/libraryCaller.c - test/tools/launcher/libraryCaller.h - test/tools/launcher/libraryCaller.java Changeset: 121fa73c7185 Author: michaelm Date: 2009-12-02 12:17 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/121fa73c7185 6893954: Subclasses of InetAddress may incorrectly interpret network addresses Summary: runtime type checks and deserialization check Reviewed-by: chegar, alanb, jccollet ! src/share/classes/java/net/DatagramSocket.java ! src/share/classes/java/net/InetAddress.java ! src/share/classes/java/net/MulticastSocket.java ! src/share/classes/java/net/NetworkInterface.java ! src/share/classes/java/net/Socket.java ! src/share/classes/sun/nio/ch/Net.java Changeset: edaa7e2efd63 Author: asaha Date: 2009-12-04 10:23 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/edaa7e2efd63 Merge - make/tools/CharsetMapping/DoubleByte-X.java - make/tools/CharsetMapping/SingleByte-X.java - src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java - src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java - test/java/util/Formatter/Basic-X.java Changeset: 3598d6eb087c Author: xuelei Date: 2009-12-07 21:16 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/3598d6eb087c 6898739: TLS renegotiation issue Summary: the interim fix disables TLS/SSL renegotiation Reviewed-by: mullan, chegar, wetmore ! src/share/classes/sun/security/ssl/ClientHandshaker.java ! src/share/classes/sun/security/ssl/Handshaker.java ! src/share/classes/sun/security/ssl/SSLEngineImpl.java ! src/share/classes/sun/security/ssl/SSLSocketImpl.java ! src/share/classes/sun/security/ssl/ServerHandshaker.java ! test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/InvalidateServerSessionRenegotiate.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/JSSERenegotiate.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/CheckStatus.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/ConnectionTest.java ! test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/NoAuthClientAuth.java Changeset: 91a4840fa9b4 Author: mullan Date: 2009-12-08 15:58 -0500 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/91a4840fa9b4 6633872: Policy/PolicyFile leak dynamic ProtectionDomains. Reviewed-by: hawtin ! src/share/classes/java/security/Policy.java ! src/share/classes/java/security/ProtectionDomain.java + src/share/classes/sun/misc/JavaSecurityProtectionDomainAccess.java ! src/share/classes/sun/misc/SharedSecrets.java ! src/share/classes/sun/security/provider/PolicyFile.java Changeset: 7a60d100ffa5 Author: mullan Date: 2009-12-18 09:09 -0500 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/7a60d100ffa5 6904162: Add new VeriSign root CA certificates to JRE and remove some old/unused ones Reviewed-by: asaha - test/lib/security/cacerts/VerifyCACerts.java Changeset: 3dabb7d5be98 Author: malenkov Date: 2009-12-22 17:56 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/3dabb7d5be98 6904691: Java Applet Trusted Methods Chaining Privilege Escalation Vulnerability Reviewed-by: hawtin, peterz ! src/share/classes/java/beans/EventHandler.java ! src/share/classes/java/beans/Statement.java ! test/java/beans/EventHandler/Test6277246.java ! test/java/beans/EventHandler/Test6277266.java Changeset: c80b6350de63 Author: michaelm Date: 2010-01-12 12:13 +0000 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c80b6350de63 6910590: Application can modify command array, in ProcessBuilder Summary: clone array returned by List.toArray() Reviewed-by: chegar, alanb ! src/share/classes/java/lang/ProcessBuilder.java Changeset: 0667ab707c48 Author: bae Date: 2010-02-17 12:49 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0667ab707c48 6914866: Sun JRE ImagingLib arbitrary code execution vulnerability Reviewed-by: prr, hawtin ! src/share/native/sun/awt/medialib/awt_ImagingLib.c ! src/share/native/sun/awt/medialib/safe_alloc.h Changeset: 494aea51f26f Author: bae Date: 2010-02-17 13:10 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/494aea51f26f 6914823: Java AWT Library Invalid Index Vulnerability Reviewed-by: flar, hawtin ! src/share/classes/sun/awt/image/ImageRepresentation.java Changeset: 45ead4a2c48b Author: bae Date: 2010-02-17 13:32 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/45ead4a2c48b 6909597: Sun Java Runtime Environment JPEGImageReader stepX Integer Overflow Vulnerability Reviewed-by: igor ! src/share/native/sun/awt/image/jpeg/imageioJPEG.c Changeset: 1ff19af7b735 Author: bae Date: 2010-02-19 22:30 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/1ff19af7b735 6899653: Sun Java Runtime CMM readMabCurveData Buffer Overflow Vulnerability Reviewed-by: prr, hawtin ! src/share/native/sun/java2d/cmm/lcms/cmsio1.c ! src/share/native/sun/java2d/cmm/lcms/cmsxform.c Changeset: cda01c4b091c Author: ksrini Date: 2010-02-22 14:33 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/cda01c4b091c 6902299: Java JAR "unpack200" must verify input parameters Summary: Added several checks for addition of values before memory allocation Reviewed-by: asaha ! src/share/native/com/sun/java/util/jar/pack/bytes.cpp ! src/share/native/com/sun/java/util/jar/pack/unpack.cpp Changeset: 7a6b3cc68e92 Author: denis Date: 2010-02-26 03:54 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/7a6b3cc68e92 6887703: Unsigned applet can retrieve the dragged information before drop action occur Reviewed-by: uta ! src/share/classes/sun/awt/dnd/SunDropTargetContextPeer.java Changeset: c5c6f8fa92ae Author: denis Date: 2010-03-06 03:37 +0300 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c5c6f8fa92ae 6932659: JTreg test files were missed in push of 6887703 Reviewed-by: uta ! test/java/awt/regtesthelpers/process/ProcessCommunicator.java Changeset: 2805db6e6ff6 Author: asaha Date: 2010-03-24 14:16 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/2805db6e6ff6 Merge - make/java/redist/FILES.gmk - make/java/text/FILES_java.gmk - make/sun/nio/FILES_java.gmk ! src/share/classes/java/beans/Statement.java ! src/share/classes/java/util/zip/Deflater.java - src/share/classes/javax/swing/plaf/synth/DefaultMenuLayout.java - src/share/classes/sun/awt/ComponentAccessor.java - src/share/classes/sun/awt/WindowAccessor.java - src/share/classes/sun/dyn/util/BytecodeSignature.java - src/share/classes/sun/security/provider/IdentityDatabase.java ! src/share/classes/sun/security/provider/PolicyFile.java - src/share/classes/sun/security/provider/SystemIdentity.java - src/share/classes/sun/security/provider/SystemSigner.java - src/share/classes/sun/security/x509/X500Signer.java - src/share/classes/sun/security/x509/X509Cert.java - src/share/classes/sun/swing/plaf/synth/SynthUI.java - src/share/classes/sun/tools/jar/JarVerifierStream.java - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java ! test/java/awt/regtesthelpers/process/ProcessCommunicator.java - test/java/net/Socket/FDClose.java Changeset: 1dccfa00dc64 Author: asaha Date: 2010-03-24 17:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/1dccfa00dc64 Merge ! src/share/classes/sun/security/ssl/SSLSocketImpl.java Changeset: 6ec14b5ede77 Author: asaha Date: 2010-03-25 07:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/6ec14b5ede77 Merge Changeset: 3ef9b3446677 Author: asaha Date: 2010-03-29 07:17 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/3ef9b3446677 Merge Changeset: a9fdd143a58e Author: asaha Date: 2010-04-05 16:11 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/a9fdd143a58e Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java Changeset: 69002275e0e2 Author: chegar Date: 2010-04-06 13:47 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/69002275e0e2 6648001: Cancelling HTTP authentication causes subsequent deadlocks Reviewed-by: michaelm ! src/share/classes/sun/net/www/protocol/http/AuthenticationInfo.java ! src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java + test/java/net/Authenticator/Deadlock.java Changeset: 495ba30cf02f Author: chegar Date: 2010-04-06 15:44 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/495ba30cf02f 6921111: NullPointerException in PlainDatagramSocketImpl.socketSetOption Reviewed-by: alanb ! src/solaris/native/java/net/PlainDatagramSocketImpl.c ! src/windows/native/java/net/TwoStacksPlainDatagramSocketImpl.c Changeset: 0b7f10901f30 Author: sherman Date: 2010-04-06 15:45 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0b7f10901f30 6717164: FilterInputStream.skip incorrectly inherits wording specifying how the InputStream.skip works Summary: restoring the javadoc Reviewed-by: alanb ! src/share/classes/java/io/FilterInputStream.java Changeset: fc7c38b2584c Author: martin Date: 2010-04-07 12:30 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/fc7c38b2584c 6941130: Semaphore should throw if number of permits overflows or underflows Summary: Check if release could make number of permits negative Reviewed-by: dl, dholmes ! src/share/classes/java/util/concurrent/Semaphore.java + test/java/util/concurrent/Semaphore/PermitOverflow.java Changeset: 025f9e57566a Author: lana Date: 2010-04-08 15:34 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/025f9e57566a Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java ! src/share/classes/java/beans/Statement.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: 4a6abb7e224c Author: lana Date: 2010-04-13 16:41 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/4a6abb7e224c Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: 7f90d0b9dbb7 Author: mikejwre Date: 2010-04-15 13:55 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/7f90d0b9dbb7 Added tag jdk7-b89 for changeset 4a6abb7e224c ! .hgtags From john.coomes at oracle.com Fri Apr 16 15:20:32 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 16 Apr 2010 22:20:32 +0000 Subject: hg: jdk7/hotspot-rt/langtools: 10 new changesets Message-ID: <20100416222104.6670B445CC@hg.openjdk.java.net> Changeset: 9871ce4fd56f Author: jjg Date: 2010-03-10 16:23 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/9871ce4fd56f 6933914: fix missing newlines Reviewed-by: ohair ! test/tools/javac/OverrideChecks/6738538/T6738538a.java ! test/tools/javac/OverrideChecks/6738538/T6738538b.java ! test/tools/javac/api/6731573/Erroneous.java ! test/tools/javac/api/6731573/T6731573.java ! test/tools/javac/cast/6548436/T6548436d.java ! test/tools/javac/cast/6558559/T6558559a.java ! test/tools/javac/cast/6558559/T6558559b.java ! test/tools/javac/cast/6586091/T6586091.java ! test/tools/javac/enum/T6724345.java ! test/tools/javac/generics/T6557954.java ! test/tools/javac/generics/T6751514.java ! test/tools/javac/generics/T6869075.java ! test/tools/javac/generics/inference/6569789/T6569789.java ! test/tools/javac/generics/inference/6650759/T6650759a.java ! test/tools/javac/generics/wildcards/T6732484.java ! test/tools/javac/processing/model/util/elements/Foo.java ! test/tools/javac/varargs/T6746184.java - test/tools/javap/T6305779.java ! test/tools/javap/T6715251.java ! test/tools/javap/T6715753.java Changeset: f856c0942c06 Author: jjg Date: 2010-03-12 12:00 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/f856c0942c06 6934224: update langtools/test/Makefile Reviewed-by: ohair ! make/jprt.properties ! test/Makefile Changeset: 6fad35d25b1e Author: lana Date: 2010-03-18 18:52 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/6fad35d25b1e Merge Changeset: dd30de080cb9 Author: jjg Date: 2010-03-23 18:05 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/dd30de080cb9 6937244: sqe ws7 tools javap/javap_t10a fail jdk7 b80 used output of javap is changed Reviewed-by: darcy ! src/share/classes/com/sun/tools/javap/ClassWriter.java + test/tools/javap/6937244/T6937244.java + test/tools/javap/6937244/T6937244A.java Changeset: 3058880c0b8d Author: jjg Date: 2010-03-24 12:18 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/3058880c0b8d 6937318: jdk7 b86: javah and javah -help is no output for these commands Reviewed-by: darcy ! src/share/classes/com/sun/tools/javah/JavahTask.java ! test/tools/javah/T6893943.java Changeset: 65e422bbb984 Author: darcy Date: 2010-03-24 17:02 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/65e422bbb984 6937417: javac -Xprint returns IndexOutOfBoundsException Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/processing/PrintingProcessor.java + test/tools/javac/processing/model/util/elements/VacuousEnum.java Changeset: de6375751eb7 Author: ohair Date: 2010-03-26 22:37 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/de6375751eb7 6938326: Use of "ant -diagnostics" a problem with ant 1.8.0, exit code 1 now Reviewed-by: jjg ! make/Makefile Changeset: ad1bf317cc57 Author: lana Date: 2010-04-08 15:35 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/ad1bf317cc57 Merge - test/tools/javap/T6305779.java Changeset: 6cea9a143208 Author: lana Date: 2010-04-13 16:42 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/6cea9a143208 Merge - test/tools/javap/T6305779.java Changeset: 71c2c23a7c35 Author: mikejwre Date: 2010-04-15 13:55 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/71c2c23a7c35 Added tag jdk7-b89 for changeset 6cea9a143208 ! .hgtags From y.s.ramakrishna at oracle.com Fri Apr 16 16:09:54 2010 From: y.s.ramakrishna at oracle.com (Y. Srinivas Ramakrishna) Date: Fri, 16 Apr 2010 16:09:54 -0700 (PDT) Subject: JVM hangs beyond recovery In-Reply-To: References: <<4BC8D453.1010702@oracle.com> Message-ID: <4BC8EE42.9070404@oracle.com> On 04/16/10 15:51, Stas Oskin wrote: > Hi. > > [Make sure to provide them with the JDK version string.] > > Right, totally forgot. > The Java version is: > java version "1.6.0_16" > Java(TM) SE Runtime Environment (build 1.6.0_16-b01) > Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) I suggest using 6u18 (with -XX:-ReduceInitialCardMarks as in release notes; this is independent of the hang you are seeing) to see if the hang reproduces; just on the off-chance this may have been fixed in the interim (i must state that such a hang does not sound familiar to me though). Or if you have a reproducible test case that would be best. If you have a support contract (and even if you don't), you should probably file a bug (through support, if you have a support contract), including the test case. > > Running on Linux x86_64. > > > The most import point in my opinion, is that JVM both compiles the Java > code in two concurrent threads, and runs JNI code at a same time. So I > would if this might be what causing the hangs? I don't think so. The compiler threads have stopped for the safepoint (see below), and (JNI) native code (outside of the JVM) is allowed to run. Thread 29 (Thread 0x40fe6940 (LWP 20859)): #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00002ba3704859f7 in os::PlatformEvent::park () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #2 0x00002ba37045e6f9 in Monitor::ILock () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #3 0x00002ba37045ee30 in Monitor::lock_without_safepoint_check () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #4 0x00002ba3704efbfa in SafepointSynchronize::block () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #5 0x00002ba37056c89b in JavaThread::check_safepoint_and_suspend_for_native_trans () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #6 0x00002ba37012f642 in ThreadStateTransition::transition_from_native () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #7 0x00002ba37015833b in BufferBlob::create () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #8 0x00002ba37016bbd9 in Compile::init_scratch_buffer_blob () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #9 0x00002ba37048ab2c in Compile::Output () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #10 0x00002ba370170d4d in Compile::Code_Gen () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #11 0x00002ba37016d364 in Compile::Compile () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #12 0x00002ba370101dee in C2Compiler::compile_method () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #13 0x00002ba370176028 in CompileBroker::invoke_compiler_on_method () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #14 0x00002ba3701759c6 in CompileBroker::compiler_thread_loop () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #15 0x00002ba3705711e9 in compiler_thread_entry () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #16 0x00002ba37056acb1 in JavaThread::run () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #17 0x00002ba37048626f in java_start () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #18 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 #19 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 Thread 28 (Thread 0x416ab940 (LWP 20860)): #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00002ba3704859f7 in os::PlatformEvent::park () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #2 0x00002ba37045e6f9 in Monitor::ILock () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #3 0x00002ba37045ee30 in Monitor::lock_without_safepoint_check () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #4 0x00002ba3704efbfa in SafepointSynchronize::block () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #5 0x00002ba37056c89b in JavaThread::check_safepoint_and_suspend_for_native_trans () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #6 0x00002ba37012b066 in ciObject::klass () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #7 0x00002ba370441fb8 in LoadNode::Value () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #8 0x00002ba3704b814b in PhaseIterGVN::transform_old () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #9 0x00002ba3704b7cad in PhaseIterGVN::optimize () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #10 0x00002ba37042bbc9 in PhaseMacroExpand::expand_macro_nodes () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #11 0x00002ba37017062e in Compile::Optimize () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #12 0x00002ba37016d313 in Compile::Compile () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #13 0x00002ba370101dee in C2Compiler::compile_method () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #14 0x00002ba370176028 in CompileBroker::invoke_compiler_on_method () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #15 0x00002ba3701759c6 in CompileBroker::compiler_thread_loop () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #16 0x00002ba3705711e9 in compiler_thread_entry () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #17 0x00002ba37056acb1 in JavaThread::run () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #18 0x00002ba37048626f in java_start () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #19 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 #20 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 I am not familiar with this part of the runtime or its debugging, so I will copy the alias and let someone more familiar with such issues to help you. (Recall also the suggestions for the [Print]Safepoint[Statistics|[Timeout*]] flags in previous email to help with debugging.) hope that helps; 'bye! -- ramki > > Thanks again. From David.Holmes at oracle.com Fri Apr 16 16:46:00 2010 From: David.Holmes at oracle.com (David Holmes) Date: Sat, 17 Apr 2010 09:46:00 +1000 Subject: JVM hangs beyond recovery In-Reply-To: <4BC8D453.1010702@oracle.com> References: <4BC8D453.1010702@oracle.com> Message-ID: <4BC8F6B8.7020606@oracle.com> Thanks for the initial analysis Ramki, Y. Srinivas Ramakrishna said the following on 04/17/10 07:19: > The JVM appears to be hung trying to reach a safepoint:- And it seem likely this thread is the one that's causing the problem: Thread 7 (Thread 0x43065940 (LWP 20886)): #0 0x0000003c7160d2e4 in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x0000003c71608c55 in _L_lock_1127 () from /lib64/libpthread.so.0 #2 0x0000003c71608b53 in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x0000003c712010ab in dlsym () from /lib64/libdl.so.2 #4 0x00002aaaaad0b923 in sysFindLibraryEntry () from /usr/java/jdk1.6.0_16/jre/lib/amd64/native_threads/libhpi.so #5 0x00002ba37046203a in NativeLookup::lookup_style () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #6 0x00002ba3704620f7 in NativeLookup::lookup_entry () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #7 0x00002ba370462493 in NativeLookup::lookup_base () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #8 0x00002ba3704625ae in NativeLookup::lookup () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so #9 0x00002ba370294290 in InterpreterRuntime::prepare_native_call () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so As this is a call to the runtime the thread state is _thread_in_vm and so the VMThread will be waiting for this thread to inform it that it has reached the safepoint. But for some reason the dlsym lock is not available and so this thread blocks before it can reach the safepoint and so the VM comes to a grinding halt. So who owns the dlsym lock? Any chance you're using some library loading hook to call into the VM while in the midst of a dlsym related routine? David Holmes > On 04/16/10 13:31, Stas Oskin wrote: >> Hi. >> >> I hit a possible deadlock in JVM, which causes my JNI application to >> hang. >> >> It happens usually on start-up, and the JVM just stuck, jstack and >> other tools are not working and the only option is to get a threads >> dump via GDB. >> >> Attached below is a sample of such dump. >> As you can see, there are two concurrent compiling threads, while the >> JNI code executes. >> >> Any chance that this causes the hang? >> Can anyone tell if this is a known issue, and there is any workaround? >> >> Thanks in advance! >> >> http://pastie.org/923725 >> >> >> 0x0000003c71607955 in pthread_join () from /lib64/libpthread.so.0 >> 40 Thread 0x41234940 (LWP 20847) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 39 Thread 0x40640940 (LWP 20849) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 38 Thread 0x41345940 (LWP 20850) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 37 Thread 0x41446940 (LWP 20851) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 36 Thread 0x41ab2940 (LWP 20852) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 35 Thread 0x42055940 (LWP 20853) 0x0000003c7160af70 in >> pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 34 Thread 0x41970940 (LWP 20854) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 33 Thread 0x41bb3940 (LWP 20855) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 32 Thread 0x41cb4940 (LWP 20856) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 31 Thread 0x403e2940 (LWP 20857) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 30 Thread 0x40ee5940 (LWP 20858) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 29 Thread 0x40fe6940 (LWP 20859) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 28 Thread 0x416ab940 (LWP 20860) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 27 Thread 0x417ac940 (LWP 20861) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 26 Thread 0x41db5940 (LWP 20862) 0x0000003c7160af70 in >> pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 25 Thread 0x410e9940 (LWP 20863) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 24 Thread 0x41eb6940 (LWP 20865) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 23 Thread 0x42156940 (LWP 20866) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 22 Thread 0x42257940 (LWP 20867) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 21 Thread 0x42358940 (LWP 20868) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 20 Thread 0x42459940 (LWP 20869) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 19 Thread 0x41547940 (LWP 20870) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 18 Thread 0x4255a940 (LWP 20871) 0x0000003c7160d95b in accept () >> from /lib64/libpthread.so.0 >> 17 Thread 0x4265b940 (LWP 20872) 0x0000003c7160d95b in accept () >> from /lib64/libpthread.so.0 >> 16 Thread 0x40cc0940 (LWP 20873) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 15 Thread 0x4275c940 (LWP 20874) 0x0000003c70ad4018 in epoll_wait () >> from /lib64/libc.so.6 >> 14 Thread 0x4285d940 (LWP 20875) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 13 Thread 0x4295e940 (LWP 20876) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 12 Thread 0x42b60940 (LWP 20878) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 11 Thread 0x42c61940 (LWP 20879) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 10 Thread 0x42d62940 (LWP 20880) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 9 Thread 0x42e63940 (LWP 20881) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 8 Thread 0x42f64940 (LWP 20882) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 7 Thread 0x43065940 (LWP 20886) 0x0000003c7160d2e4 in __lll_lock_wait () >> from /lib64/libpthread.so.0 >> 6 Thread 0x43166940 (LWP 20887) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 5 Thread 0x43267940 (LWP 20888) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 4 Thread 0x43368940 (LWP 20889) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 3 Thread 0x43469940 (LWP 20890) 0x0000003c7160ad09 in >> pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> 2 Thread 0x44a19940 (LWP 20891) 0x0000003c7160af70 in >> pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 >> * 1 Thread 0x2ba36feee5c0 (LWP 20843) 0x0000003c71607955 in >> pthread_join () >> from /lib64/libpthread.so.0 > From coleen.phillimore at oracle.com Fri Apr 16 16:30:16 2010 From: coleen.phillimore at oracle.com (Coleen Phillimore) Date: Fri, 16 Apr 2010 19:30:16 -0400 Subject: JVM hangs beyond recovery In-Reply-To: <4BC8EE42.9070404@oracle.com> References: <"<4BC8D453.1010702"@oracle.com> <4BC8EE42.9070404@oracle.com> Message-ID: <4BC8F308.8020203@oracle.com> You may want to use kill -3 to this process and it should print the thread dump to standard out for the java process. You can also use jstack from $JAVA_HOME/bin to achieve the same dump. jstack has an -m option which will show native frames as well. Both of these have lock deadlock detection so might show you where your Java program is hung. Coleen Y. Srinivas Ramakrishna wrote: > On 04/16/10 15:51, Stas Oskin wrote: > >> Hi. >> >> [Make sure to provide them with the JDK version string.] >> >> Right, totally forgot. >> The Java version is: >> java version "1.6.0_16" >> Java(TM) SE Runtime Environment (build 1.6.0_16-b01) >> Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) >> > > I suggest using 6u18 (with -XX:-ReduceInitialCardMarks as in release > notes; this is independent of the hang you are seeing) to see > if the hang reproduces; just on the off-chance this may have been > fixed in the interim (i must state that such a hang does not sound > familiar to me though). Or if you have a reproducible test > case that would be best. If you have a support contract (and even > if you don't), you should probably file a bug (through support, if > you have a support contract), including the test case. > > >> Running on Linux x86_64. >> >> >> The most import point in my opinion, is that JVM both compiles the Java >> code in two concurrent threads, and runs JNI code at a same time. So I >> would if this might be what causing the hangs? >> > > I don't think so. The compiler threads have stopped for the safepoint > (see below), and (JNI) native code (outside of the JVM) is allowed to run. > > Thread 29 (Thread 0x40fe6940 (LWP 20859)): > #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () > from /lib64/libpthread.so.0 > #1 0x00002ba3704859f7 in os::PlatformEvent::park () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #2 0x00002ba37045e6f9 in Monitor::ILock () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #3 0x00002ba37045ee30 in Monitor::lock_without_safepoint_check () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #4 0x00002ba3704efbfa in SafepointSynchronize::block () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #5 0x00002ba37056c89b in JavaThread::check_safepoint_and_suspend_for_native_trans () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #6 0x00002ba37012f642 in ThreadStateTransition::transition_from_native () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #7 0x00002ba37015833b in BufferBlob::create () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #8 0x00002ba37016bbd9 in Compile::init_scratch_buffer_blob () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #9 0x00002ba37048ab2c in Compile::Output () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #10 0x00002ba370170d4d in Compile::Code_Gen () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #11 0x00002ba37016d364 in Compile::Compile () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #12 0x00002ba370101dee in C2Compiler::compile_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #13 0x00002ba370176028 in CompileBroker::invoke_compiler_on_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #14 0x00002ba3701759c6 in CompileBroker::compiler_thread_loop () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #15 0x00002ba3705711e9 in compiler_thread_entry () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #16 0x00002ba37056acb1 in JavaThread::run () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #17 0x00002ba37048626f in java_start () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #18 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 > #19 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 > > Thread 28 (Thread 0x416ab940 (LWP 20860)): > #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () > from /lib64/libpthread.so.0 > #1 0x00002ba3704859f7 in os::PlatformEvent::park () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #2 0x00002ba37045e6f9 in Monitor::ILock () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #3 0x00002ba37045ee30 in Monitor::lock_without_safepoint_check () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #4 0x00002ba3704efbfa in SafepointSynchronize::block () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #5 0x00002ba37056c89b in JavaThread::check_safepoint_and_suspend_for_native_trans () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #6 0x00002ba37012b066 in ciObject::klass () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #7 0x00002ba370441fb8 in LoadNode::Value () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #8 0x00002ba3704b814b in PhaseIterGVN::transform_old () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #9 0x00002ba3704b7cad in PhaseIterGVN::optimize () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #10 0x00002ba37042bbc9 in PhaseMacroExpand::expand_macro_nodes () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #11 0x00002ba37017062e in Compile::Optimize () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #12 0x00002ba37016d313 in Compile::Compile () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #13 0x00002ba370101dee in C2Compiler::compile_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #14 0x00002ba370176028 in CompileBroker::invoke_compiler_on_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #15 0x00002ba3701759c6 in CompileBroker::compiler_thread_loop () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #16 0x00002ba3705711e9 in compiler_thread_entry () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #17 0x00002ba37056acb1 in JavaThread::run () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #18 0x00002ba37048626f in java_start () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #19 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 > #20 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 > > > I am not familiar with this part of the runtime or its debugging, > so I will copy the alias and let someone more familiar with such > issues to help you. (Recall also the suggestions for the > [Print]Safepoint[Statistics|[Timeout*]] flags in previous email > to help with debugging.) > > hope that helps; 'bye! > -- ramki > > >> Thanks again. >> > > From john.cuthbertson at oracle.com Fri Apr 16 16:55:00 2010 From: john.cuthbertson at oracle.com (John Cuthbertson) Date: Fri, 16 Apr 2010 16:55:00 -0700 Subject: JVM hangs beyond recovery In-Reply-To: <4BC8EE42.9070404@oracle.com> References: <"<4BC8D453.1010702"@oracle.com> <4BC8EE42.9070404@oracle.com> Message-ID: <4BC8F8D4.5020707@oracle.com> Hi Stas, The thread that requested the safepoint operation is: > Thread 11 (Thread 0x42c61940 (LWP 20879)): > #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () > from /lib64/libpthread.so.0 > #1 0x00002ba3704859f7 in os::PlatformEvent::park () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #2 0x00002ba37045ea92 in Monitor::IWait () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #3 0x00002ba37045f0fa in Monitor::wait () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #4 0x00002ba3705b9f79 in VMThread::execute () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #5 0x00002ba3700ecc7d in BiasedLocking::revoke_and_rebias () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #6 0x00002ba3705376d1 in ObjectSynchronizer::fast_enter () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #7 0x00002ba37029061a in InterpreterRuntime::monitorenter () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #8 0x00002aaaaaf8003b in ?? () > #9 0x00002aaaaaf7ffe9 in ?? () > #10 0x00002aaaaf3208d8 in ?? () > #11 0x00002aaaaf3208d8 in ?? () > #12 0x00000036a0681609 in ?? () > #13 0x00002aaaaf320768 in ?? () > #14 0x0000000042c603d8 in ?? () > #15 0x00002aaabea33dd7 in ?? () > #16 0x0000000042c60458 in ?? () > #17 0x00002aaabeba65a8 in ?? () > #18 0x0000000000000000 in ?? () which is trying to clean up some meta-data associated with biased locking while attempting to get a monitor. So you could, as a workaround, try turning off UseBiasedLocking. The thread I think the safepoint is waiting for is: > Thread 7 (Thread 0x43065940 (LWP 20886)): > #0 0x0000003c7160d2e4 in __lll_lock_wait () from /lib64/libpthread.so.0 > #1 0x0000003c71608c55 in _L_lock_1127 () from /lib64/libpthread.so.0 > #2 0x0000003c71608b53 in pthread_mutex_lock () from /lib64/libpthread.so.0 > #3 0x0000003c712010ab in dlsym () from /lib64/libdl.so.2 > #4 0x00002aaaaad0b923 in sysFindLibraryEntry () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/native_threads/libhpi.so > #5 0x00002ba37046203a in NativeLookup::lookup_style () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #6 0x00002ba3704620f7 in NativeLookup::lookup_entry () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #7 0x00002ba370462493 in NativeLookup::lookup_base () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #8 0x00002ba3704625ae in NativeLookup::lookup () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #9 0x00002ba370294290 in InterpreterRuntime::prepare_native_call () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #10 0x00002aaaaaf73d6c in ?? () > #11 0x00002aaacc448500 in ?? () > #12 0x00002aaaaaf73d2d in ?? () > #13 0x0000000043064570 in ?? () > #14 0x00002aaaae6b8608 in ?? () > #15 0x0000000043ad4800 in ?? () > #16 0x0000000043064498 in ?? () > #17 0x00002aaabeb785b0 in ?? () > #18 0x0000000043064508 in ?? () > #19 0x00002aaabeb7bf80 in ?? () > #20 0x0000000000000000 in ?? () It's thread state will be _thread_in_vm (it's trying to lookup the name of a jni routine in a shared library). Note: _thread_in_vm is different from _thread_in_native. With the latter, a thread is considered at a safepoint and the vm operation can proceed. Since this thread is not at a safepoint, it will be allowed to roll forward until it reaches a state that is safepoint-safe (_thread-in_native, _thread_blocked) - which should be just before InterpreterRuntime::prepare_native_call returns back to its caller. From the stack trace it looks like thread #7 is waiting on a lock that's internal to libdl - presumably the one that makes the dl* routines MT-safe - and that's what seems to be stopping the thread from making forward progress. JohnC Y. Srinivas Ramakrishna wrote: > On 04/16/10 15:51, Stas Oskin wrote: > >> Hi. >> >> [Make sure to provide them with the JDK version string.] >> >> Right, totally forgot. >> The Java version is: >> java version "1.6.0_16" >> Java(TM) SE Runtime Environment (build 1.6.0_16-b01) >> Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) >> > > I suggest using 6u18 (with -XX:-ReduceInitialCardMarks as in release > notes; this is independent of the hang you are seeing) to see > if the hang reproduces; just on the off-chance this may have been > fixed in the interim (i must state that such a hang does not sound > familiar to me though). Or if you have a reproducible test > case that would be best. If you have a support contract (and even > if you don't), you should probably file a bug (through support, if > you have a support contract), including the test case. > > >> Running on Linux x86_64. >> >> >> The most import point in my opinion, is that JVM both compiles the Java >> code in two concurrent threads, and runs JNI code at a same time. So I >> would if this might be what causing the hangs? >> > > I don't think so. The compiler threads have stopped for the safepoint > (see below), and (JNI) native code (outside of the JVM) is allowed to run. > > Thread 29 (Thread 0x40fe6940 (LWP 20859)): > #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () > from /lib64/libpthread.so.0 > #1 0x00002ba3704859f7 in os::PlatformEvent::park () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #2 0x00002ba37045e6f9 in Monitor::ILock () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #3 0x00002ba37045ee30 in Monitor::lock_without_safepoint_check () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #4 0x00002ba3704efbfa in SafepointSynchronize::block () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #5 0x00002ba37056c89b in JavaThread::check_safepoint_and_suspend_for_native_trans () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #6 0x00002ba37012f642 in ThreadStateTransition::transition_from_native () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #7 0x00002ba37015833b in BufferBlob::create () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #8 0x00002ba37016bbd9 in Compile::init_scratch_buffer_blob () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #9 0x00002ba37048ab2c in Compile::Output () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #10 0x00002ba370170d4d in Compile::Code_Gen () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #11 0x00002ba37016d364 in Compile::Compile () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #12 0x00002ba370101dee in C2Compiler::compile_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #13 0x00002ba370176028 in CompileBroker::invoke_compiler_on_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #14 0x00002ba3701759c6 in CompileBroker::compiler_thread_loop () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #15 0x00002ba3705711e9 in compiler_thread_entry () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #16 0x00002ba37056acb1 in JavaThread::run () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #17 0x00002ba37048626f in java_start () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #18 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 > #19 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 > > Thread 28 (Thread 0x416ab940 (LWP 20860)): > #0 0x0000003c7160ad09 in pthread_cond_wait@@GLIBC_2.3.2 () > from /lib64/libpthread.so.0 > #1 0x00002ba3704859f7 in os::PlatformEvent::park () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #2 0x00002ba37045e6f9 in Monitor::ILock () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #3 0x00002ba37045ee30 in Monitor::lock_without_safepoint_check () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #4 0x00002ba3704efbfa in SafepointSynchronize::block () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #5 0x00002ba37056c89b in JavaThread::check_safepoint_and_suspend_for_native_trans () from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #6 0x00002ba37012b066 in ciObject::klass () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #7 0x00002ba370441fb8 in LoadNode::Value () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #8 0x00002ba3704b814b in PhaseIterGVN::transform_old () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #9 0x00002ba3704b7cad in PhaseIterGVN::optimize () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #10 0x00002ba37042bbc9 in PhaseMacroExpand::expand_macro_nodes () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #11 0x00002ba37017062e in Compile::Optimize () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #12 0x00002ba37016d313 in Compile::Compile () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #13 0x00002ba370101dee in C2Compiler::compile_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #14 0x00002ba370176028 in CompileBroker::invoke_compiler_on_method () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #15 0x00002ba3701759c6 in CompileBroker::compiler_thread_loop () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #16 0x00002ba3705711e9 in compiler_thread_entry () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #17 0x00002ba37056acb1 in JavaThread::run () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #18 0x00002ba37048626f in java_start () > from /usr/java/jdk1.6.0_16/jre/lib/amd64/server/libjvm.so > #19 0x0000003c71606617 in start_thread () from /lib64/libpthread.so.0 > #20 0x0000003c70ad3c2d in clone () from /lib64/libc.so.6 > > > I am not familiar with this part of the runtime or its debugging, > so I will copy the alias and let someone more familiar with such > issues to help you. (Recall also the suggestions for the > [Print]Safepoint[Statistics|[Timeout*]] flags in previous email > to help with debugging.) > > hope that helps; 'bye! > -- ramki > > >> Thanks again. >> > > From stas.oskin at gmail.com Mon Apr 19 13:07:23 2010 From: stas.oskin at gmail.com (Stas Oskin) Date: Mon, 19 Apr 2010 23:07:23 +0300 Subject: JVM hangs beyond recovery In-Reply-To: <4BC8F8D4.5020707@oracle.com> References: <<4BC8D453.1010702@oracle.com> <4BC8EE42.9070404@oracle.com> <4BC8F8D4.5020707@oracle.com> Message-ID: Hi. Thanks everybody for their responses, I will try to check whether this is a Linux issue, and speak with the developers of the libraries I'm using. Just to eliminate an issue I thought possible - any chance it related to bug: 6791815? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20100419/f2b2a595/attachment.html From David.Holmes at oracle.com Mon Apr 19 18:15:05 2010 From: David.Holmes at oracle.com (David Holmes) Date: Tue, 20 Apr 2010 11:15:05 +1000 Subject: JVM hangs beyond recovery In-Reply-To: References: <<4BC8D453.1010702@oracle.com> <4BC8EE42.9070404@oracle.com> <4BC8F8D4.5020707@oracle.com> Message-ID: <4BCD0019.2020601@oracle.com> Stas Oskin said the following on 04/20/10 06:07: > Thanks everybody for their responses, I will try to check whether this > is a Linux issue, and speak with the developers of the libraries I'm using. > > Just to eliminate an issue I thought possible - any chance it related to > bug: 6791815? No, no chance at all. :) David Holmes From coleen.phillimore at sun.com Mon Apr 19 18:45:40 2010 From: coleen.phillimore at sun.com (coleen.phillimore at sun.com) Date: Tue, 20 Apr 2010 01:45:40 +0000 Subject: hg: jdk7/hotspot-rt/hotspot: 6944822: Fix for 6938627 exposes problem with hard-coded buffer sizes Message-ID: <20100420014543.B412F4461F@hg.openjdk.java.net> Changeset: 96d554193f72 Author: coleenp Date: 2010-04-19 18:58 -0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/96d554193f72 6944822: Fix for 6938627 exposes problem with hard-coded buffer sizes Summary: Make tmpdir buffer sizes MAX_PATH+1 Reviewed-by: dholmes, coleenp Contributed-by: andreas.kohn at fredhopper.com ! src/os/linux/vm/attachListener_linux.cpp ! src/os/linux/vm/os_linux.cpp ! src/os/solaris/vm/attachListener_solaris.cpp From gbenson at redhat.com Tue Apr 20 01:40:23 2010 From: gbenson at redhat.com (Gary Benson) Date: Tue, 20 Apr 2010 09:40:23 +0100 Subject: Review Request: Zero JNI handles fix In-Reply-To: <20100330145920.GD3617@redhat.com> References: <20100329152453.GB3421@redhat.com> <1269942726.982.129.camel@macbook> <4BB202CA.9040202@oracle.com> <20100330145920.GD3617@redhat.com> Message-ID: <20100420084023.GB3510@redhat.com> Gary Benson wrote: > Keith McGuigan wrote: > > On 03/30/10 05:52, Christian Thalinger wrote: > > > On Mon, 2010-03-29 at 16:24 +0100, Gary Benson wrote: > > > > Zero will exit with an error when invoked with -Xcheck:jni. > > > > This webrev fixes: > > > > > > > > http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix/ > > > > > > > > Note that this is actually a pretty old issue, but the fix > > > > for it got lost from the IcedTea repositories. There's more > > > > information here: > > > > > > > > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=323 > > > > > > > > I don't have a bug id for this. > > > > > > 6939182: Zero JNI handles fix > > > > > > I guess the changes are good since it uses an #ifdef. Maybe one > > > of the runtime guys could also comment on this one. > > > > It would be better to put this in zero-specific code somewhere > > instead of polluting common code with #ifdef, but if that's not > > possible... > > > > Also, instead of this point-fix in jniHandles, why not fix > > last_Java_sp() to return zero_stack()->sp() in the zero case? > > This is not the only place last_Java_sp() is called. Might > > want to fix it for last_Java_pc() (and related) too. > > The difficulty is that what last_Java_sp is returning in Zero is the > Zero frame pointer, which is not the highest thing on the stack. It > probably isn't the best thing to #ifdef this here though, I agree. > I'll have a think about it... I've reworked the fix: http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix-2/ last_Java_sp() now returns the actual Zero stack pointer. The frame anchor has a new last_Java_fp field that stores the value previously stored in last_Java_sp, in much the same way as the x86 port does. Note that the code in frame_zero.* already stored both these values, but with the names confusingly reversed. I have unreversed them in this webrev. I have also changed the type of the frame pointer be a ZeroFrame* -- leaving the stack pointer as an intptr_t* -- to help ensure that everything gets the arguments in the right order. Cheers, Gary -- http://gbenson.net/ From guanxiaohua at gmail.com Wed Apr 21 07:06:07 2010 From: guanxiaohua at gmail.com (Tony Guan) Date: Wed, 21 Apr 2010 09:06:07 -0500 Subject: How to compare thecaller thread object and callee's holder? Message-ID: Hi, a quick question: given a caller thread object( JavaThread* thread) and the method to be called by the thread (methodOopDesc* method), how do I know that the holder of the "method" is from the same caller object or not? The reason why I am asking is: in JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* thread, methodOopDesc* method)) in shareRuntime.cpp I want to check if the method called will start another thread or not, so I need to compare the holders of the caller and callee. So one more question: is there any other way to achieve this? thanks! Tony (Xiaohua Guan) From David.Holmes at oracle.com Wed Apr 21 18:11:51 2010 From: David.Holmes at oracle.com (David Holmes) Date: Thu, 22 Apr 2010 11:11:51 +1000 Subject: How to compare thecaller thread object and callee's holder? In-Reply-To: References: Message-ID: <4BCFA257.4020609@oracle.com> Tony, Tony Guan said the following on 04/22/10 00:06: > a quick question: given a caller thread object( JavaThread* thread) > and the method to be called by the thread (methodOopDesc* method), how > do I know that the holder of the "method" is from the same caller > object or not? I don't understand what you mean here by "holder"? > The reason why I am asking is: > in > JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* > thread, methodOopDesc* method)) in shareRuntime.cpp > > I want to check if the method called will start another thread or not, > so I need to compare the holders of the caller and callee. Again I don't know what the "holder" is here. If a method starts a thread then that new thread doesn't necessarily have any connection back to the method from which it was started. > So one more question: is there any other way to achieve this? I think you would have to add code in the thread start routine (of the JVM) and have the before/after method hooks to do this eg: before-method: set flag showing current thread is interested in thread start start-thread: check if current thread interested in thread start and if so bump a counter after-method: check counter and clear flag David Holmes From gbenson at redhat.com Thu Apr 22 04:14:47 2010 From: gbenson at redhat.com (Gary Benson) Date: Thu, 22 Apr 2010 12:14:47 +0100 Subject: Review Request: Zero JNI handles fix In-Reply-To: <20100420084023.GB3510@redhat.com> References: <20100329152453.GB3421@redhat.com> <1269942726.982.129.camel@macbook> <4BB202CA.9040202@oracle.com> <20100330145920.GD3617@redhat.com> <20100420084023.GB3510@redhat.com> Message-ID: <20100422111447.GD4039@redhat.com> Gary Benson wrote: > Gary Benson wrote: > > Keith McGuigan wrote: > > > On 03/30/10 05:52, Christian Thalinger wrote: > > > > On Mon, 2010-03-29 at 16:24 +0100, Gary Benson wrote: > > > > > Zero will exit with an error when invoked with -Xcheck:jni. > > > > > This webrev fixes: > > > > > > > > > > http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix/ > > > > > > > > > > Note that this is actually a pretty old issue, but the fix > > > > > for it got lost from the IcedTea repositories. There's more > > > > > information here: > > > > > > > > > > http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=323 > > > > > > > > > > I don't have a bug id for this. > > > > > > > > 6939182: Zero JNI handles fix > > > > > > > > I guess the changes are good since it uses an #ifdef. Maybe one > > > > of the runtime guys could also comment on this one. > > > > > > It would be better to put this in zero-specific code somewhere > > > instead of polluting common code with #ifdef, but if that's not > > > possible... > > > > > > Also, instead of this point-fix in jniHandles, why not fix > > > last_Java_sp() to return zero_stack()->sp() in the zero case? > > > This is not the only place last_Java_sp() is called. Might > > > want to fix it for last_Java_pc() (and related) too. > > > > The difficulty is that what last_Java_sp is returning in Zero is the > > Zero frame pointer, which is not the highest thing on the stack. It > > probably isn't the best thing to #ifdef this here though, I agree. > > I'll have a think about it... > > I've reworked the fix: > > http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix-2/ > > last_Java_sp() now returns the actual Zero stack pointer. The frame > anchor has a new last_Java_fp field that stores the value previously > stored in last_Java_sp, in much the same way as the x86 port does. > > Note that the code in frame_zero.* already stored both these values, > but with the names confusingly reversed. I have unreversed them in > this webrev. I have also changed the type of the frame pointer be a > ZeroFrame* -- leaving the stack pointer as an intptr_t* -- to help > ensure that everything gets the arguments in the right order. A minor update: http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix-3/ Cheers, Gary -- http://gbenson.net/ From guanxiaohua at gmail.com Thu Apr 22 15:50:11 2010 From: guanxiaohua at gmail.com (Tony Guan) Date: Thu, 22 Apr 2010 17:50:11 -0500 Subject: How to compare thecaller thread object and callee's holder? In-Reply-To: <4BCFA257.4020609@oracle.com> References: <4BCFA257.4020609@oracle.com> Message-ID: Hi David, Thanks you for the reply. By "holder" of a method, I mean the object whose class owns the method interested. for a callee method, we may refer it as receiver. and for a caller, let's just name it as a caller object, sorry for the vague term I borrowed from the source code of hotspot. The following code shows more accurately what I want: class B{ methodB(){ ... } } class A{ void methodA() { B objectB=new B(); objectB.methodB(); //*****here is what I am at } static public main(args) { A objectA=new A(); A.methodA(); } } Now, as we are calling objectB.methodB() from A.methodA(), all I need is to find out objectA and objectB from within the JVM. Given that from the dtrace functionality, I already know the current thread, and the methodOoopDesc* of the called method, I need to identify the caller object and the callee object from the two parameters passed to the dtrace_method_entry: JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* thread, methodOopDesc* method)) in shareRuntime.cpp Thanks! Tony (Xiaohua Guan) On Wed, Apr 21, 2010 at 8:11 PM, David Holmes wrote: > Tony, > > Tony Guan said the following on 04/22/10 00:06: >> >> a quick question: given a caller thread object( JavaThread* thread) >> and the method to be called by the thread (methodOopDesc* method), how >> do I know that the holder of the "method" is from the same caller >> object or not? > > I don't understand what you mean here by "holder"? > >> The reason why I am asking is: >> in >> ?JRT_LEAF(int, SharedRuntime::dtrace_method_entry( ? ?JavaThread* >> thread, methodOopDesc* method)) in shareRuntime.cpp >> >> I want to check if the method called will start another thread or not, >> so I need to compare the holders of the caller and callee. > > Again I don't know what the "holder" is here. If a method starts a thread > then that new thread doesn't necessarily have any connection back to the > method from which it was started. > >> So one more question: is there any other way to achieve this? > > I think you would have to add code in the thread start routine (of the JVM) > and have the before/after method hooks to do this eg: > > ?before-method: ?set flag showing current thread is interested in thread > start > ?start-thread: check if current thread interested in thread start and if so > bump a counter > ?after-method: check counter and clear flag > > David Holmes > From David.Holmes at oracle.com Thu Apr 22 18:27:22 2010 From: David.Holmes at oracle.com (David Holmes) Date: Fri, 23 Apr 2010 11:27:22 +1000 Subject: How to compare thecaller thread object and callee's holder? In-Reply-To: References: <4BCFA257.4020609@oracle.com> Message-ID: <4BD0F77A.4030804@oracle.com> Tony Guan said the following on 04/23/10 08:50: > Thanks you for the reply. By "holder" of a method, I mean the object > whose class owns the method interested. Ok. I didn't understand how the "thread" was related to the holder. > Given that from the dtrace functionality, I already know the current > thread, and the methodOoopDesc* of the called method, I need to > identify the caller object and the callee object from the two > parameters passed to the dtrace_method_entry: > > JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* thread, > methodOopDesc* method)) in shareRuntime.cpp > Ah that's a much more specific question :) But I'm afraid I can't answer it with certainty (I don't think you can get either easily) but the compiler folk (cc'ed) will have a much better idea. David ----- > for a callee method, we may refer it as receiver. > and for a caller, let's just name it as a caller object, sorry for the > vague term I borrowed from the source code of hotspot. The following > code shows more accurately what I want: > > class B{ > methodB(){ > ... > } > } > > class A{ > > void methodA() > { > B objectB=new B(); > objectB.methodB(); //*****here is what I am at > > } > static public main(args) > { > A objectA=new A(); > A.methodA(); > } > > } > > Now, as we are calling objectB.methodB() from A.methodA(), all I need > is to find out objectA and objectB from within the JVM. > > Given that from the dtrace functionality, I already know the current > thread, and the methodOoopDesc* of the called method, I need to > identify the caller object and the callee object from the two > parameters passed to the dtrace_method_entry: > > JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* thread, > methodOopDesc* method)) in shareRuntime.cpp > > Thanks! > > Tony (Xiaohua Guan) > > > > On Wed, Apr 21, 2010 at 8:11 PM, David Holmes wrote: >> Tony, >> >> Tony Guan said the following on 04/22/10 00:06: >>> a quick question: given a caller thread object( JavaThread* thread) >>> and the method to be called by the thread (methodOopDesc* method), how >>> do I know that the holder of the "method" is from the same caller >>> object or not? >> I don't understand what you mean here by "holder"? >> >>> The reason why I am asking is: >>> in >>> JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* >>> thread, methodOopDesc* method)) in shareRuntime.cpp >>> >>> I want to check if the method called will start another thread or not, >>> so I need to compare the holders of the caller and callee. >> Again I don't know what the "holder" is here. If a method starts a thread >> then that new thread doesn't necessarily have any connection back to the >> method from which it was started. >> >>> So one more question: is there any other way to achieve this? >> I think you would have to add code in the thread start routine (of the JVM) >> and have the before/after method hooks to do this eg: >> >> before-method: set flag showing current thread is interested in thread >> start >> start-thread: check if current thread interested in thread start and if so >> bump a counter >> after-method: check counter and clear flag >> >> David Holmes >> From tom.rodriguez at oracle.com Thu Apr 22 19:13:01 2010 From: tom.rodriguez at oracle.com (Tom Rodriguez) Date: Thu, 22 Apr 2010 19:13:01 -0700 Subject: How to compare thecaller thread object and callee's holder? In-Reply-To: <4BD0F77A.4030804@oracle.com> References: <4BCFA257.4020609@oracle.com> <4BD0F77A.4030804@oracle.com> Message-ID: On Apr 22, 2010, at 6:27 PM, David Holmes wrote: > Tony Guan said the following on 04/23/10 08:50: >> Thanks you for the reply. By "holder" of a method, I mean the object >> whose class owns the method interested. Normally hotspot uses the term holder for the class that owns a method and receiver as the object being invoked. > > Ok. I didn't understand how the "thread" was related to the holder. > >> Given that from the dtrace functionality, I already know the current >> thread, and the methodOoopDesc* of the called method, I need to >> identify the caller object and the callee object from the two >> parameters passed to the dtrace_method_entry: >> JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* thread, >> methodOopDesc* method)) in shareRuntime.cpp > > Ah that's a much more specific question :) But I'm afraid I can't answer it with certainty (I don't think you can get either easily) but the compiler folk (cc'ed) will have a much better idea. You can't recover the caller from just those two values. If you tracked method enter/exit on a per thread stack you could track it yourself. You might also be able to use the jstack action to grab the current stack trace. tom > > David > ----- > > >> for a callee method, we may refer it as receiver. >> and for a caller, let's just name it as a caller object, sorry for the >> vague term I borrowed from the source code of hotspot. The following >> code shows more accurately what I want: >> class B{ >> methodB(){ >> ... >> } >> } >> class A{ >> void methodA() >> { >> B objectB=new B(); >> objectB.methodB(); //*****here is what I am at >> } >> static public main(args) >> { >> A objectA=new A(); >> A.methodA(); >> } >> } >> Now, as we are calling objectB.methodB() from A.methodA(), all I need >> is to find out objectA and objectB from within the JVM. >> Given that from the dtrace functionality, I already know the current >> thread, and the methodOoopDesc* of the called method, I need to >> identify the caller object and the callee object from the two >> parameters passed to the dtrace_method_entry: >> JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* thread, >> methodOopDesc* method)) in shareRuntime.cpp >> Thanks! >> Tony (Xiaohua Guan) >> On Wed, Apr 21, 2010 at 8:11 PM, David Holmes wrote: >>> Tony, >>> >>> Tony Guan said the following on 04/22/10 00:06: >>>> a quick question: given a caller thread object( JavaThread* thread) >>>> and the method to be called by the thread (methodOopDesc* method), how >>>> do I know that the holder of the "method" is from the same caller >>>> object or not? >>> I don't understand what you mean here by "holder"? >>> >>>> The reason why I am asking is: >>>> in >>>> JRT_LEAF(int, SharedRuntime::dtrace_method_entry( JavaThread* >>>> thread, methodOopDesc* method)) in shareRuntime.cpp >>>> >>>> I want to check if the method called will start another thread or not, >>>> so I need to compare the holders of the caller and callee. >>> Again I don't know what the "holder" is here. If a method starts a thread >>> then that new thread doesn't necessarily have any connection back to the >>> method from which it was started. >>> >>>> So one more question: is there any other way to achieve this? >>> I think you would have to add code in the thread start routine (of the JVM) >>> and have the before/after method hooks to do this eg: >>> >>> before-method: set flag showing current thread is interested in thread >>> start >>> start-thread: check if current thread interested in thread start and if so >>> bump a counter >>> after-method: check counter and clear flag >>> >>> David Holmes >>> From guanxiaohua at gmail.com Wed Apr 28 09:11:56 2010 From: guanxiaohua at gmail.com (Tony Guan) Date: Wed, 28 Apr 2010 11:11:56 -0500 Subject: How to notify the VM about certain event from Java code? Message-ID: Hi all, I need to notify VM to take some action at certain point of the java execution, how can I do that without creating special bytecode? for example: ... ...system.out.println("this is part of java code"); functionCall_XXX(); ......system.out.println("this is part of java code"); I need some functionCall_XXX() which will enable me to communicate with the JVM, so that I can do something at this point. Does such function exist? Thanks! Tony From tom.rodriguez at oracle.com Wed Apr 28 11:05:56 2010 From: tom.rodriguez at oracle.com (Tom Rodriguez) Date: Wed, 28 Apr 2010 11:05:56 -0700 Subject: How to notify the VM about certain event from Java code? In-Reply-To: References: Message-ID: <31E22C21-7A07-46F9-AE07-C13FCD66C5D5@oracle.com> I don't think there's an existing call that you can just suborn for this purpose, but it's easy enough to just declare some method in some class as your notify function and then treat it specially inside the JVM and use that as your hook either by intrinsifying it or binding it as a native method. In general creating new bytecodes is rarely the right solution to any problem because most operations can be represented as method calls and adding bytecodes requires changing all sorts of code to understand and generate them which is a huge pain. There are obviously cases where a new bytecode is the only way to go but that's less often than you think. tom On Apr 28, 2010, at 9:11 AM, Tony Guan wrote: > Hi all, > > I need to notify VM to take some action at certain point of the java > execution, how can I do that without creating special bytecode? > > for example: > ... > ...system.out.println("this is part of java code"); > functionCall_XXX(); > ......system.out.println("this is part of java code"); > > I need some functionCall_XXX() which will enable me to communicate > with the JVM, so that I can do something at this point. Does such > function exist? > > Thanks! > > Tony From guanxiaohua at gmail.com Wed Apr 28 11:18:34 2010 From: guanxiaohua at gmail.com (Tony Guan) Date: Wed, 28 Apr 2010 13:18:34 -0500 Subject: How to notify the VM about certain event from Java code? In-Reply-To: <31E22C21-7A07-46F9-AE07-C13FCD66C5D5@oracle.com> References: <31E22C21-7A07-46F9-AE07-C13FCD66C5D5@oracle.com> Message-ID: Hi Tom, Thanks a lot! Tony (Xiaohua Guan) On Wed, Apr 28, 2010 at 1:05 PM, Tom Rodriguez wrote: > I don't think there's an existing call that you can just suborn for this purpose, but it's easy enough to just declare some method in some class as your notify function and then treat it specially inside the JVM and use that as your hook either by intrinsifying it or binding it as a native method. > > In general creating new bytecodes is rarely the right solution to any problem because most operations can be represented as method calls and adding bytecodes requires changing all sorts of code to understand and generate them which is a huge pain. ?There are obviously cases where a new bytecode is the only way to go but that's less often than you think. > > tom > > On Apr 28, 2010, at 9:11 AM, Tony Guan wrote: > >> Hi all, >> >> I need to notify VM to take some action at certain point of the java >> execution, how can I do that without creating special bytecode? >> >> for example: >> ... >> ...system.out.println("this is part of java code"); >> functionCall_XXX(); >> ......system.out.println("this is part of java code"); >> >> I need some functionCall_XXX() which will enable me to communicate >> with the JVM, so that I can do something at this point. Does such >> function exist? >> >> Thanks! >> >> Tony > > From john.coomes at oracle.com Thu Apr 29 21:58:37 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 04:58:37 +0000 Subject: hg: jdk7/hotspot-rt: Added tag jdk7-b90 for changeset 425ba3efabbf Message-ID: <20100430045837.C873B443F1@hg.openjdk.java.net> Changeset: 97d8b6c659c2 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/97d8b6c659c2 Added tag jdk7-b90 for changeset 425ba3efabbf ! .hgtags From john.coomes at oracle.com Thu Apr 29 21:58:41 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 04:58:41 +0000 Subject: hg: jdk7/hotspot-rt/corba: Added tag jdk7-b90 for changeset 56ce07b0eb47 Message-ID: <20100430045843.5CC2D443F2@hg.openjdk.java.net> Changeset: bcd2fc089227 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/corba/rev/bcd2fc089227 Added tag jdk7-b90 for changeset 56ce07b0eb47 ! .hgtags From john.coomes at oracle.com Thu Apr 29 22:02:25 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 05:02:25 +0000 Subject: hg: jdk7/hotspot-rt/jaxp: Added tag jdk7-b90 for changeset c5d932ee326d Message-ID: <20100430050226.14CCE443F3@hg.openjdk.java.net> Changeset: b89b2c3044a2 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxp/rev/b89b2c3044a2 Added tag jdk7-b90 for changeset c5d932ee326d ! .hgtags From john.coomes at oracle.com Thu Apr 29 22:02:28 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 05:02:28 +0000 Subject: hg: jdk7/hotspot-rt/jaxws: Added tag jdk7-b90 for changeset ead7c4566a00 Message-ID: <20100430050228.EC47F443F4@hg.openjdk.java.net> Changeset: cf4686bf35ab Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxws/rev/cf4686bf35ab Added tag jdk7-b90 for changeset ead7c4566a00 ! .hgtags From john.coomes at oracle.com Thu Apr 29 22:04:35 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 05:04:35 +0000 Subject: hg: jdk7/hotspot-rt/jdk: 37 new changesets Message-ID: <20100430051256.DB35C443F6@hg.openjdk.java.net> Changeset: 471c3c1f18d1 Author: bae Date: 2010-04-20 11:06 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/471c3c1f18d1 6936389: FontManager.fileCloser may cause memory leak in applets Reviewed-by: igor, prr, ant ! src/share/classes/sun/font/SunFontManager.java ! src/share/classes/sun/java2d/Disposer.java ! src/share/classes/sun/java2d/loops/GraphicsPrimitive.java ! src/solaris/classes/sun/awt/X11/XToolkit.java ! src/solaris/classes/sun/awt/X11GraphicsDevice.java ! src/solaris/classes/sun/awt/motif/MToolkit.java ! src/windows/classes/sun/awt/windows/WToolkit.java ! src/windows/classes/sun/java2d/d3d/D3DScreenUpdateManager.java + test/sun/awt/font/ClassLoaderLeakTest.java Changeset: bd5d1afc00ab Author: lana Date: 2010-04-20 16:47 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/bd5d1afc00ab Merge Changeset: 43b8a8bc8208 Author: uta Date: 2010-04-14 15:28 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/43b8a8bc8208 6920842: Wheel events do not bubbling to the browser if they was not treated in applet. Reviewed-by: art, anthony, peterz ! src/share/classes/java/awt/Component.java ! src/share/classes/java/awt/Container.java ! src/share/classes/javax/swing/plaf/basic/BasicScrollPaneUI.java Changeset: ba8ecdbf0b88 Author: lana Date: 2010-04-15 15:19 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ba8ecdbf0b88 Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: f51dc9fc72d3 Author: lana Date: 2010-04-20 16:48 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f51dc9fc72d3 Merge Changeset: b48c141258e1 Author: peytoia Date: 2010-04-13 13:47 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/b48c141258e1 6709938: RFE: Support more scripts in JDK logical fonts using new fonts in Windows XP and later. Reviewed-by: okutsu ! src/windows/classes/sun/awt/windows/fontconfig.properties Changeset: 98359a01cbe0 Author: okutsu Date: 2010-04-14 13:53 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/98359a01cbe0 6941948: NumaricShaper.shape() doesn't work with NumericShaper.Range.EASTERN_ARABIC Reviewed-by: peytoia ! src/share/classes/java/awt/font/NumericShaper.java + test/java/awt/font/NumericShaper/EasternArabicTest.java Changeset: 4d8b1b04544c Author: lana Date: 2010-04-15 11:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/4d8b1b04544c Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java ! src/windows/classes/sun/awt/windows/fontconfig.properties - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: 17d17234a1d9 Author: okutsu Date: 2010-04-16 15:53 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/17d17234a1d9 6609675: [Fmt-Da] DateFormat.parse() on a timezone changes its calendar's timezone Reviewed-by: peytoia ! src/share/classes/java/text/DateFormat.java ! src/share/classes/java/text/SimpleDateFormat.java Changeset: f75f5e2274d5 Author: rupashka Date: 2010-04-16 13:05 +0400 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f75f5e2274d5 6922179: SynthTextPaneUI.installUI() doesn't set component to opaque as specified Reviewed-by: alexp ! src/share/classes/javax/swing/plaf/basic/BasicTextUI.java Changeset: 584dcb7ecaf9 Author: naoto Date: 2010-04-19 14:48 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/584dcb7ecaf9 6943941: Rebranding issues with some tests in jdk/test/java/util Reviewed-by: ohair ! test/java/util/Locale/Bug4175998Test.java ! test/java/util/ResourceBundle/Bug4083270Test.java ! test/java/util/ResourceBundle/Bug4165815Test.java ! test/java/util/ResourceBundle/Bug4168625Class.java ! test/java/util/ResourceBundle/Bug4168625Getter.java ! test/java/util/ResourceBundle/Bug4168625Resource.java ! test/java/util/ResourceBundle/Bug4168625Resource2.java ! test/java/util/ResourceBundle/Bug4168625Resource2_en_US.java ! test/java/util/ResourceBundle/Bug4168625Resource3.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en_CA.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en_IE.java ! test/java/util/ResourceBundle/Bug4168625Resource3_en_US.java ! test/java/util/ResourceBundle/Bug4177489Test.java ! test/java/util/ResourceBundle/Bug4177489_Resource.java ! test/java/util/ResourceBundle/Bug4177489_Resource_jf.java Changeset: 2571720800a6 Author: peytoia Date: 2010-04-20 15:01 +0900 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/2571720800a6 6945238: (tz) Support tzdata2010i Reviewed-by: okutsu ! make/sun/javazic/tzdata/VERSION ! make/sun/javazic/tzdata/africa ! make/sun/javazic/tzdata/asia ! make/sun/javazic/tzdata/southamerica Changeset: 0d9662f62d0d Author: lana Date: 2010-04-20 16:50 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0d9662f62d0d Merge Changeset: 710c4493902f Author: mullan Date: 2010-04-09 07:21 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/710c4493902f 6909281: 6u19 b99(pit):Error loading first applet in browser session( both FF && IE, windows ): NPE is thrown Summary: Fix for 6633872 causes NPE due to uninitialised ProtectionDomain class Reviewed-by: andrew ! src/share/classes/sun/misc/SharedSecrets.java Changeset: 89f4ec9e4b33 Author: xuelei Date: 2010-04-10 09:13 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/89f4ec9e4b33 6941936: Broken pipe error of test case DNSIdentities.java Reviewed-by: chegar ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/HttpsPost.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Identities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Redirect.java Changeset: 507cd94489e7 Author: sherman Date: 2010-04-12 10:57 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/507cd94489e7 6942707: nwe Big5.map for HKSCS2008 missed 5 codepoints Summary: updated the Big5.map table to add 5 entries Reviewed-by: okutsu - make/tools/CharsetMapping/Big5.c2b ! make/tools/CharsetMapping/Big5.map Changeset: 6b641c576e77 Author: valeriep Date: 2010-04-07 17:20 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/6b641c576e77 6918573: sun.security.pkcs11.P11RSACipher.finalize() is a scalability blocker Summary: Removed the finalize() methods and use PhantomReference in Session to do auto clean up. Reviewed-by: wetmore ! src/share/classes/sun/security/pkcs11/P11Cipher.java ! src/share/classes/sun/security/pkcs11/P11Digest.java ! src/share/classes/sun/security/pkcs11/P11Key.java ! src/share/classes/sun/security/pkcs11/P11Mac.java ! src/share/classes/sun/security/pkcs11/P11RSACipher.java ! src/share/classes/sun/security/pkcs11/P11Signature.java ! src/share/classes/sun/security/pkcs11/Session.java ! src/share/classes/sun/security/pkcs11/SessionManager.java Changeset: a45217204978 Author: valeriep Date: 2010-04-12 15:53 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/a45217204978 Merge - make/tools/CharsetMapping/Big5.c2b Changeset: 1672f0212f02 Author: chegar Date: 2010-04-13 12:02 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/1672f0212f02 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String Reviewed-by: alanb, michaelm, andrew ! src/share/classes/java/net/NetworkInterface.java Changeset: ed61accf772e Author: chegar Date: 2010-04-15 16:37 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ed61accf772e 6943219: test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java fail in linux Reviewed-by: andrew ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java ! test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/Identities.java Changeset: c70d4266d474 Author: sherman Date: 2010-04-15 17:00 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c70d4266d474 6931676: TEST_BUG: wrong value for bugid in comments Summary: update to the correct bugid Reviewed-by: martin ! test/java/util/regex/RegExTest.java Changeset: db4fd2fdf196 Author: weijun Date: 2010-04-16 10:06 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/db4fd2fdf196 6937978: let keytool -gencert generate the chain Reviewed-by: mullan ! src/share/classes/sun/security/tools/KeyTool.java ! test/sun/security/tools/keytool/selfissued.sh Changeset: 0d989dc383d3 Author: weijun Date: 2010-04-16 10:13 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0d989dc383d3 6939248: Jarsigner can't extract Extended Key Usage from Timestamp Reply correctly Reviewed-by: xuelei, mullan ! src/share/classes/sun/security/tools/TimestampedSigner.java + test/sun/security/tools/jarsigner/TimestampCheck.java + test/sun/security/tools/jarsigner/ts.sh Changeset: c444651077d2 Author: andrew Date: 2010-04-16 09:54 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/c444651077d2 6944361: Missing CKR_ values in PKCS11Exception Summary: Allow native NSS errors to be observed and correctly reported Reviewed-by: wetmore, valeriep ! src/share/classes/sun/security/pkcs11/wrapper/PKCS11Exception.java ! src/share/classes/sun/security/x509/X509Key.java Changeset: 7ecc023957d8 Author: lana Date: 2010-04-17 08:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/7ecc023957d8 Merge Changeset: 97fb6f6d230a Author: weijun Date: 2010-04-20 19:30 +0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/97fb6f6d230a 6944847: native gss lib names on linux Reviewed-by: valeriep ! src/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java + test/sun/security/krb5/Krb5NameEquals.java + test/sun/security/krb5/runNameEquals.sh Changeset: d8ad2da3ecf3 Author: wetmore Date: 2010-04-20 14:24 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/d8ad2da3ecf3 6945604: wrong error message in CardImpl.java Reviewed-by: mullan ! src/share/classes/sun/security/smartcardio/CardImpl.java Changeset: 884df20e9cce Author: lana Date: 2010-04-20 16:51 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/884df20e9cce Merge - make/tools/CharsetMapping/Big5.c2b Changeset: 9bf334e32d35 Author: yhuang Date: 2010-01-21 22:05 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/9bf334e32d35 6916787: Ukrainian currency name needs to be fixed Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CurrencyNames_uk_UA.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 00890dd53f45 Author: yhuang Date: 2010-01-27 23:19 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/00890dd53f45 6919624: minimalDaysInFirstWeek ressource for hungarian is wrong Reviewed-by: yhuang, peytoia ! src/share/classes/sun/util/resources/CalendarData_hu.properties ! test/sun/text/resources/LocaleData ! test/sun/text/resources/LocaleDataTest.java Changeset: 0173ef08dcc8 Author: yhuang Date: 2010-02-11 20:59 -0800 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/0173ef08dcc8 6776102: sun/util/resources/TimeZone/Bug6317929.java test failed against 6u12b01 and passed against 6u11b03 Reviewed-by: yhuang, peytoia ! test/sun/util/resources/TimeZone/Bug6317929.java Changeset: b2485d8eba40 Author: yhuang Date: 2010-04-11 21:04 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/b2485d8eba40 Merge - make/java/redist/FILES.gmk - make/java/text/FILES_java.gmk - make/sun/nio/FILES_java.gmk - src/share/classes/sun/dyn/util/BytecodeSignature.java - src/solaris/classes/sun/nio/ch/SctpSocketDispatcher.java Changeset: babd3f260d32 Author: yhuang Date: 2010-04-11 23:21 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/babd3f260d32 6875904: Java 7 message synchronization 1 Reviewed-by: ogino, faryad ! make/sun/launcher/Makefile ! src/share/classes/com/sun/rowset/RowSetResourceBundle_de.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_es.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_fr.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_it.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_ja.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_ko.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_sv.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_zh_CN.properties ! src/share/classes/com/sun/rowset/RowSetResourceBundle_zh_TW.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_de.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_es.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_fr.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_it.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ja.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_ko.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_sv.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_CN.properties ! src/share/classes/com/sun/swing/internal/plaf/basic/resources/basic_zh_TW.properties + src/share/classes/sun/launcher/resources/launcher_de.properties + src/share/classes/sun/launcher/resources/launcher_es.properties + src/share/classes/sun/launcher/resources/launcher_fr.properties + src/share/classes/sun/launcher/resources/launcher_it.properties + src/share/classes/sun/launcher/resources/launcher_ja.properties + src/share/classes/sun/launcher/resources/launcher_ko.properties + src/share/classes/sun/launcher/resources/launcher_sv.properties + src/share/classes/sun/launcher/resources/launcher_zh_CN.properties + src/share/classes/sun/launcher/resources/launcher_zh_TW.properties ! src/share/classes/sun/management/resources/agent_de.properties ! src/share/classes/sun/management/resources/agent_es.properties ! src/share/classes/sun/management/resources/agent_fr.properties ! src/share/classes/sun/management/resources/agent_it.properties ! src/share/classes/sun/management/resources/agent_ja.properties ! src/share/classes/sun/management/resources/agent_ko.properties ! src/share/classes/sun/management/resources/agent_sv.properties ! src/share/classes/sun/management/resources/agent_zh_CN.properties ! src/share/classes/sun/management/resources/agent_zh_TW.properties ! src/share/classes/sun/security/tools/JarSignerResources_ja.java ! src/share/classes/sun/security/tools/JarSignerResources_zh_CN.java ! src/share/classes/sun/security/util/AuthResources_de.java ! src/share/classes/sun/security/util/AuthResources_es.java ! src/share/classes/sun/security/util/AuthResources_fr.java ! src/share/classes/sun/security/util/AuthResources_it.java ! src/share/classes/sun/security/util/AuthResources_ja.java ! src/share/classes/sun/security/util/AuthResources_ko.java ! src/share/classes/sun/security/util/AuthResources_sv.java ! src/share/classes/sun/security/util/AuthResources_zh_CN.java ! src/share/classes/sun/security/util/AuthResources_zh_TW.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_ja.java ! src/share/classes/sun/tools/jconsole/resources/JConsoleResources_zh_CN.java Changeset: 7794a4a38e99 Author: yhuang Date: 2010-04-20 01:24 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/7794a4a38e99 Merge - make/tools/src/build/tools/charsetmapping/CharsetMapping.java - make/tools/src/build/tools/charsetmapping/GenerateDBCS.java - make/tools/src/build/tools/charsetmapping/GenerateEUC_TW.java - make/tools/src/build/tools/charsetmapping/GenerateMapping.java - make/tools/src/build/tools/charsetmapping/GenerateSBCS.java - src/share/classes/sun/io/ByteToCharHKSCS.java - src/share/classes/sun/io/ByteToCharHKSCS_2001.java - src/share/classes/sun/io/CharToByteHKSCS.java - src/share/classes/sun/io/CharToByteHKSCS_2001.java - src/share/classes/sun/nio/cs/ext/Big5.java - src/share/classes/sun/nio/cs/ext/HKSCS_2001.java - test/java/net/Socket/FDClose.java - test/lib/security/cacerts/VerifyCACerts.java Changeset: b5ae88dd3dbd Author: mikejwre Date: 2010-04-28 20:04 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/b5ae88dd3dbd Merge Changeset: ab117ded3e3f Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/ab117ded3e3f Added tag jdk7-b90 for changeset 7f90d0b9dbb7 ! .hgtags Changeset: 08a31cab971f Author: mikejwre Date: 2010-04-29 13:53 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/08a31cab971f Merge - make/tools/CharsetMapping/Big5.c2b From john.coomes at oracle.com Thu Apr 29 22:21:52 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 05:21:52 +0000 Subject: hg: jdk7/hotspot-rt/langtools: 9 new changesets Message-ID: <20100430052211.D777644401@hg.openjdk.java.net> Changeset: 96072ad00783 Author: jjg Date: 2010-04-09 15:39 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/96072ad00783 6942649: add hidden option to identify location and version of javac classes Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/main/Main.java + test/tools/javac/T6942649.java Changeset: 396b117c1743 Author: mcimadamore Date: 2010-04-14 12:23 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/396b117c1743 6939618: Revert 'simple' diamond implementation Summary: backout changeset for 6840638 Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java - test/tools/javac/generics/diamond/neg/Neg01.java - test/tools/javac/generics/diamond/neg/Neg01.out - test/tools/javac/generics/diamond/neg/Neg02.java - test/tools/javac/generics/diamond/neg/Neg02.out - test/tools/javac/generics/diamond/neg/Neg03.java - test/tools/javac/generics/diamond/neg/Neg03.out - test/tools/javac/generics/diamond/neg/Neg04.java - test/tools/javac/generics/diamond/neg/Neg04.out - test/tools/javac/generics/diamond/neg/Neg05.java - test/tools/javac/generics/diamond/neg/Neg05.out - test/tools/javac/generics/diamond/pos/Pos01.java - test/tools/javac/generics/diamond/pos/Pos02.java - test/tools/javac/generics/diamond/pos/Pos03.java - test/tools/javac/generics/diamond/pos/Pos04.java ! test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java ! test/tools/javac/processing/model/element/TestAnonClassNames.java Changeset: 9d9d08922405 Author: mcimadamore Date: 2010-04-14 12:31 +0100 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/9d9d08922405 6939620: Switch to 'complex' diamond inference scheme Summary: Implement new inference scheme for diamond operator that takes into account type of actual arguments supplied to constructor Reviewed-by: jjg, darcy ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Check.java ! src/share/classes/com/sun/tools/javac/comp/Resolve.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java ! test/tools/javac/6840059/T6840059.out + test/tools/javac/generics/diamond/neg/Neg01.java + test/tools/javac/generics/diamond/neg/Neg01.out + test/tools/javac/generics/diamond/neg/Neg02.java + test/tools/javac/generics/diamond/neg/Neg02.out + test/tools/javac/generics/diamond/neg/Neg03.java + test/tools/javac/generics/diamond/neg/Neg03.out + test/tools/javac/generics/diamond/neg/Neg04.java + test/tools/javac/generics/diamond/neg/Neg04.out + test/tools/javac/generics/diamond/neg/Neg05.java + test/tools/javac/generics/diamond/neg/Neg05.out + test/tools/javac/generics/diamond/neg/Neg06.java + test/tools/javac/generics/diamond/neg/Neg06.out + test/tools/javac/generics/diamond/neg/Neg07.java + test/tools/javac/generics/diamond/neg/Neg07.out + test/tools/javac/generics/diamond/neg/Neg08.java + test/tools/javac/generics/diamond/neg/Neg08.out + test/tools/javac/generics/diamond/neg/Neg09.java + test/tools/javac/generics/diamond/neg/Neg09.out + test/tools/javac/generics/diamond/neg/Neg10.java + test/tools/javac/generics/diamond/neg/Neg10.out + test/tools/javac/generics/diamond/neg/Neg11.java + test/tools/javac/generics/diamond/neg/Neg11.out + test/tools/javac/generics/diamond/pos/Pos01.java + test/tools/javac/generics/diamond/pos/Pos02.java + test/tools/javac/generics/diamond/pos/Pos03.java + test/tools/javac/generics/diamond/pos/Pos04.java + test/tools/javac/generics/diamond/pos/Pos05.java Changeset: 37fa8cd046ab Author: lana Date: 2010-04-17 08:12 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/37fa8cd046ab Merge Changeset: 06e06ec0d6f2 Author: yhuang Date: 2010-04-11 23:24 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/06e06ec0d6f2 6875904: Java 7 message synchronization 1 Reviewed-by: ogino, faryad ! src/share/classes/com/sun/tools/apt/resources/apt_ja.properties ! src/share/classes/com/sun/tools/apt/resources/apt_zh_CN.properties ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_ja.properties ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard_zh_CN.properties ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties ! src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties ! src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties ! src/share/classes/com/sun/tools/javac/resources/javac_ja.properties ! src/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties Changeset: 053bf290d575 Author: yhuang Date: 2010-04-20 01:30 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/053bf290d575 Merge - test/tools/javap/T6305779.java Changeset: b68de5eee27b Author: mikejwre Date: 2010-04-28 20:04 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/b68de5eee27b Merge Changeset: ebf79cbf5711 Author: mikejwre Date: 2010-04-22 16:54 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/ebf79cbf5711 Added tag jdk7-b90 for changeset 71c2c23a7c35 ! .hgtags Changeset: 97b6fa97b8dd Author: mikejwre Date: 2010-04-29 14:10 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/97b6fa97b8dd Merge ! test/tools/javac/generics/diamond/neg/Neg01.java ! test/tools/javac/generics/diamond/neg/Neg01.out ! test/tools/javac/generics/diamond/neg/Neg02.java ! test/tools/javac/generics/diamond/neg/Neg02.out ! test/tools/javac/generics/diamond/neg/Neg03.java ! test/tools/javac/generics/diamond/neg/Neg03.out ! test/tools/javac/generics/diamond/neg/Neg04.java ! test/tools/javac/generics/diamond/neg/Neg04.out ! test/tools/javac/generics/diamond/neg/Neg05.java ! test/tools/javac/generics/diamond/neg/Neg05.out ! test/tools/javac/generics/diamond/pos/Pos01.java ! test/tools/javac/generics/diamond/pos/Pos02.java ! test/tools/javac/generics/diamond/pos/Pos03.java ! test/tools/javac/generics/diamond/pos/Pos04.java From john.coomes at oracle.com Fri Apr 30 02:24:00 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 09:24:00 +0000 Subject: hg: jdk7/hotspot-rt: Added tag jdk7-b91 for changeset 97d8b6c659c2 Message-ID: <20100430092401.0E54144478@hg.openjdk.java.net> Changeset: 5f5c33d417f3 Author: mikejwre Date: 2010-04-29 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/rev/5f5c33d417f3 Added tag jdk7-b91 for changeset 97d8b6c659c2 ! .hgtags From john.coomes at oracle.com Fri Apr 30 02:24:04 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 09:24:04 +0000 Subject: hg: jdk7/hotspot-rt/corba: Added tag jdk7-b91 for changeset bcd2fc089227 Message-ID: <20100430092405.8D92444479@hg.openjdk.java.net> Changeset: 930582f667a1 Author: mikejwre Date: 2010-04-29 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/corba/rev/930582f667a1 Added tag jdk7-b91 for changeset bcd2fc089227 ! .hgtags From john.coomes at oracle.com Fri Apr 30 02:28:24 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 09:28:24 +0000 Subject: hg: jdk7/hotspot-rt/jaxp: Added tag jdk7-b91 for changeset b89b2c3044a2 Message-ID: <20100430092824.7F2604447A@hg.openjdk.java.net> Changeset: e6a40e4bb104 Author: mikejwre Date: 2010-04-29 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxp/rev/e6a40e4bb104 Added tag jdk7-b91 for changeset b89b2c3044a2 ! .hgtags From john.coomes at oracle.com Fri Apr 30 02:28:27 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 09:28:27 +0000 Subject: hg: jdk7/hotspot-rt/jaxws: Added tag jdk7-b91 for changeset cf4686bf35ab Message-ID: <20100430092827.5FACD4447B@hg.openjdk.java.net> Changeset: df7c033f6a11 Author: mikejwre Date: 2010-04-29 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jaxws/rev/df7c033f6a11 Added tag jdk7-b91 for changeset cf4686bf35ab ! .hgtags From john.coomes at oracle.com Fri Apr 30 02:28:31 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 09:28:31 +0000 Subject: hg: jdk7/hotspot-rt/jdk: Added tag jdk7-b91 for changeset 08a31cab971f Message-ID: <20100430092848.BF99D4447C@hg.openjdk.java.net> Changeset: f2dce7210cc0 Author: mikejwre Date: 2010-04-29 14:32 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/jdk/rev/f2dce7210cc0 Added tag jdk7-b91 for changeset 08a31cab971f ! .hgtags From john.coomes at oracle.com Fri Apr 30 02:32:07 2010 From: john.coomes at oracle.com (john.coomes at oracle.com) Date: Fri, 30 Apr 2010 09:32:07 +0000 Subject: hg: jdk7/hotspot-rt/langtools: Added tag jdk7-b91 for changeset 97b6fa97b8dd Message-ID: <20100430093210.BDF5544487@hg.openjdk.java.net> Changeset: 98cba5876cb5 Author: mikejwre Date: 2010-04-29 14:33 -0700 URL: http://hg.openjdk.java.net/jdk7/hotspot-rt/langtools/rev/98cba5876cb5 Added tag jdk7-b91 for changeset 97b6fa97b8dd ! .hgtags From Christian.Thalinger at Sun.COM Fri Apr 30 04:28:49 2010 From: Christian.Thalinger at Sun.COM (Christian Thalinger) Date: Fri, 30 Apr 2010 13:28:49 +0200 Subject: Review Request: Zero JNI handles fix In-Reply-To: <20100422111447.GD4039@redhat.com> References: <20100329152453.GB3421@redhat.com> <1269942726.982.129.camel@macbook> <4BB202CA.9040202@oracle.com> <20100330145920.GD3617@redhat.com> <20100420084023.GB3510@redhat.com> <20100422111447.GD4039@redhat.com> Message-ID: <1272626929.920.13.camel@macbook> On Thu, 2010-04-22 at 12:14 +0100, Gary Benson wrote: > > I've reworked the fix: > > > > http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix-2/ > > > > last_Java_sp() now returns the actual Zero stack pointer. The frame > > anchor has a new last_Java_fp field that stores the value previously > > stored in last_Java_sp, in much the same way as the x86 port does. > > > > Note that the code in frame_zero.* already stored both these values, > > but with the names confusingly reversed. I have unreversed them in > > this webrev. I have also changed the type of the frame pointer be a > > ZeroFrame* -- leaving the stack pointer as an intptr_t* -- to help > > ensure that everything gets the arguments in the right order. > > A minor update: > > http://cr.openjdk.java.net/~gbenson/zero-jnihandles-fix-3/ I assume the changes work as you have (hopefully) tested them. Since it only touches Zero files, I'd say the changes are OK. I will push it. I also add Keith as reviewer. -- Christian