Re: system profilers and incomplete stacks

2014-10-21 Thread Staffan Larsen
On 22 okt 2014, at 02:10, Brendan Gregg wrote: > G'Day, > > I checked the JDK 9 early access releases, but didn't see anything for > JDK-6276264. That bug has been closed as a duplicate of https://bugs.openjdk.java.net/browse/JDK-6617153, which is still open. > I've also since learned that T

Re: RFR: 8038468: java/lang/instrument/ParallelTransformerLoader.sh fails with ClassCircularityError

2014-10-21 Thread David Holmes
On 22/10/2014 12:52 PM, Yumin Qi wrote: Hi, David and all, Second webrev here: http://cr.openjdk.java.net/~minqi/8038468/webrev01/ Answer to David's question about 'main' and 'DestroyJavaVM'. I still did not find how when exception printing the stack trace, 'main' was retrieved but, at th

Re: RFR: 8038468: java/lang/instrument/ParallelTransformerLoader.sh fails with ClassCircularityError

2014-10-21 Thread Yumin Qi
Hi, David and all, Second webrev here: http://cr.openjdk.java.net/~minqi/8038468/webrev01/ Answer to David's question about 'main' and 'DestroyJavaVM'. I still did not find how when exception printing the stack trace, 'main' was retrieved but, at the moment JavaThread for "DestroyJavaVM' w

Re: RFR 8056143: interrupted java/lang/management/MemoryMXBean/LowMemoryTest.java leaves running process

2014-10-21 Thread David Holmes
Sorry for the delay in getting back to this - I had a long weekend. :) I think this new approach is great! So it is a big Thumbs Up from me! Thanks, David On 17/10/2014 7:55 PM, Jaroslav Bachorik wrote: On 10/16/2014 02:14 AM, David Holmes wrote: On 15/10/2014 11:55 PM, Jaroslav Bachorik wrot

Re: system profilers and incomplete stacks

2014-10-21 Thread Brendan Gregg
G'Day, I checked the JDK 9 early access releases, but didn't see anything for JDK-6276264. I've also since learned that Twitter has an OpenJDK fork with frame pointers disabled, for the same purpose: stack profiling (using Linux perf_events). Might this be worked on for JDK 9? I can help test. tha

Re: RFR 8058506: ThreadMXBeanStateTest throws exception

2014-10-21 Thread Jaroslav Bachorik
On 10/21/2014 03:27 PM, Erik Gahlin wrote: Have you considered creating a LogMessage class that keeps the logCntr value and the log message, instead of putting the counter into the log string and parsing it. Yes. And didn't go that way in order to prevent creating a lot of throwaway stringbuil

Re: RFR 8058506: ThreadMXBeanStateTest throws exception

2014-10-21 Thread Erik Gahlin
Have you considered creating a LogMessage class that keeps the logCntr value and the log message, instead of putting the counter into the log string and parsing it. Seems simpler and easier to understand. Erik Jaroslav Bachorik skrev 2014-10-20 13:12: Please, review the following test change