Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
please suggest how to write test code for this case?
Joined: Nov 15, 2009
Jan 05, 2011 04:45:05
a timing monitor class, below is how to use it:
Monitor.start(String marker); //code blocks Monitor.stop(String marker);
I need to
if there are two threads using the Monitor concurrently, their results wont affect each other.
How do i make a two thread scenario in a unit test?
** SCJP 5.0 84% **
** SCWCD 1.5 76% **
I agree. Here's the link:
subject: please suggest how to write test code for this case?
static members initialization and static object references
Kathy, Dan, Shishio, Valentine, get on the subject: Final Word on GC
Non static initialization
Is this small piece of code thread-safe?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015