diff options
| author | Jesse Wilson <jessewilson@google.com> | 2011-07-20 10:15:23 -0700 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2011-07-20 12:48:07 -0700 |
| commit | 250e0d89cc3f5d2fc03ed23961c774c02f825ffd (patch) | |
| tree | 3752c1a440977e9222975b9d675334a5d52b5e9d /annotations/generate_annotated_java_files.py | |
| parent | b1f55cb6f95928be969a8fe5c7447e13f14d0a68 (diff) | |
Use nanoTime rather than currentTimeMillis in ReferenceQueue.remove()
Some other side effects of this change:
- we no longer make a time lookup when we don't need to
- we time out after 'n' milliseconds, not 'n+1' milliseconds
- we duplicate code from Thread.join(). I opened http://b/5053948 to dedup this.
Bug: http://b/5050245
Change-Id: I20375119cfa06be559b6aa5c209375b3d3a541f9
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
