Unexpected ArithmeticException at sun.jvm.hotspot.utilities.CompactHashTable

2015-12-17 Thread KUBOTA Yuji
Hi all, I caught an unexpected java.lang.ArithmeticException by CLHSDB through jhsdb as below. - ./jhsdb clhsdb --pid 16809 Attaching to process 16809, please wait... hsdb> class java/lang/ArithmeticException java/lang/ArithmeticException @0x000100011958 hsdb> class java class not found:

Re: RFR: 8141211: Convert TraceExceptions to Unified Logging

2015-12-17 Thread David Holmes
On 17/12/2015 6:41 PM, Bengt Rutisson wrote: On 2015-12-16 22:43, Coleen Phillimore wrote: On 12/16/15 4:01 PM, John Rose wrote: On Dec 15, 2015, at 12:26 PM, Rachel Protacio wrote: - each incident of ttyLocker that involved separate logging lines for the same message have been consolidated t

Re: RFR 8145127: VM warning: WaitForMultipleObjects timed out (0) ...

2015-12-17 Thread David Holmes
On 17/12/2015 6:23 PM, Ivan Gerasimov wrote: On 17.12.2015 8:45, David Holmes wrote: On 15/12/2015 10:18 PM, Ivan Gerasimov wrote: while(true) would convey that much more clearly - and perhaps obviate the need for pr_ex. Yes, I can surely transform the code - while (pr_ex != curr_

Re: RFR: 8141211: Convert TraceExceptions to Unified Logging

2015-12-17 Thread John Rose
On Dec 17, 2015, at 11:39 AM, Thomas Stüfe wrote: > > When we print it, we precede the multiline message with the decorators in the > first line and indent the rest of the lines to the same position: > > [time][pid][tid] hallo1 > hallo2 > hallo3 > > This ap

Re: RFR: 8141211: Convert TraceExceptions to Unified Logging

2015-12-17 Thread Thomas Stüfe
Hi all, we at SAP have years ago added a logging system to our hotspot port which is in many ways similar to UL but solves the multiline-problem differently. (Side note: we are currently discussing whether to abandon our logging system in favour of UL, just because merging down- and upstream woul

Re: RFR: 8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration

2015-12-17 Thread Marcus Larsson
Thanks for reviewing, David! On 2015-12-17 06:34, David Holmes wrote: Looks good! Thanks, David On 16/12/2015 1:12 AM, Marcus Larsson wrote: Hey Markus, On 2015-12-15 11:58, Markus Gronlund wrote: Hi Marcus, Looks good! One minor thing that you don't need to fix if you don't want to: I w

Re: RFR: 8145083: Use semaphore instead of mutex for synchronization of Unified Logging configuration

2015-12-17 Thread Marcus Larsson
Thanks for reviewing, Kim! On 2015-12-16 18:07, Kim Barrett wrote: On Dec 15, 2015, at 10:12 AM, Marcus Larsson wrote: I think it's worth another round. :) New webrev: http://cr.openjdk.java.net/~mlarsson/8145083/webrev.04/ Incremental: http://cr.openjdk.java.net/~mlarsson/8145083/webrev.03-

Re: RFR: 8141211: Convert TraceExceptions to Unified Logging

2015-12-17 Thread Marcus Larsson
Hi, On 2015-12-17 09:41, Bengt Rutisson wrote: On 2015-12-16 22:43, Coleen Phillimore wrote: On 12/16/15 4:01 PM, John Rose wrote: On Dec 15, 2015, at 12:26 PM, Rachel Protacio wrote: - each incident of ttyLocker that involved separate logging lines for the same message have been consol

Re: [PATCH resend2] Skip the null pointer check before calling realloc

2015-12-17 Thread Dmitry Samersoff
Alex, I'll sponsor the push, but please: 1. fix realloc issue as it suggested by Dan and me. 2. prepare a webrev (I'll put it under my ojdk account to /sponsorship/alexhenrie) -Dmitry On 2015-12-15 23:43, Alex Henrie wrote: > # HG changeset patch > # User Alex Henrie > # Date 1447827030 2520

Re: RFR: 8141211: Convert TraceExceptions to Unified Logging

2015-12-17 Thread Bengt Rutisson
On 2015-12-16 22:43, Coleen Phillimore wrote: On 12/16/15 4:01 PM, John Rose wrote: On Dec 15, 2015, at 12:26 PM, Rachel Protacio wrote: - each incident of ttyLocker that involved separate logging lines for the same message have been consolidated to one line - each incident of ttyLocker th

Re: RFR 8145127: VM warning: WaitForMultipleObjects timed out (0) ...

2015-12-17 Thread Ivan Gerasimov
On 17.12.2015 8:45, David Holmes wrote: On 15/12/2015 10:18 PM, Ivan Gerasimov wrote: while(true) would convey that much more clearly - and perhaps obviate the need for pr_ex. Yes, I can surely transform the code - while (pr_ex != curr_id) { + if (pr_ex != curr_id) { +