Skip to content
Snippets Groups Projects
  1. Feb 18, 2012
  2. Feb 17, 2012
  3. Feb 16, 2012
  4. Feb 09, 2012
  5. Jan 17, 2012
  6. Jan 11, 2012
  7. Jan 10, 2012
  8. Jan 09, 2012
  9. Jan 05, 2012
  10. Dec 02, 2011
  11. Dec 01, 2011
  12. Nov 30, 2011
  13. Nov 21, 2011
  14. Nov 20, 2011
  15. Nov 19, 2011
    • Russell Sears's avatar
      Remove synchronization points from random number generation. This mostly... · 29ddcf4b
      Russell Sears authored
      Remove synchronization points from random number generation.  This mostly consisted switching from per-class instances of Random() that are shared amongst threads to thread-local instances shared across classes.
      
      Also, CounterGenerator.nextInt() was synchronized.  Changed it to use an AtomicInteger.
      
      Finally, removed lastString() from Generator, as it was only called in places where lastInt() was more appropriate; switched the calls to lastInt().
      29ddcf4b
Loading