diff options
author | Elliott Hughes <enh@google.com> | 2012-02-24 11:24:02 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-02-24 11:24:02 -0800 |
commit | 3ce4b266a8e620ae4205922d828acc5976a99006 (patch) | |
tree | f1b1791dfce337e7c0fbaf76e3945611cc95ed9f /src/dalvik_system_DexFile.cc | |
parent | 6b00e189defc8a6b1acbd736c65d46bbfaaa2cd6 (diff) | |
download | art-3ce4b266a8e620ae4205922d828acc5976a99006.zip art-3ce4b266a8e620ae4205922d828acc5976a99006.tar.gz art-3ce4b266a8e620ae4205922d828acc5976a99006.tar.bz2 |
Fix a thread state misunderstanding.
Note that this means that we now give the right answer for Object.wait(long)
but the wrong answer for Thread.sleep(long). It's not obvious how to easily
fix the latter. It seems like the easiest fix will be to check the class of
the object that's being waited on, and using TS_SLEEPING if it's a ThreadLock;
we already do similar in the stack dumping.
Change-Id: I83c0c54af1061e1678cefe7b07389dd10c2ea3d5
Diffstat (limited to 'src/dalvik_system_DexFile.cc')
0 files changed, 0 insertions, 0 deletions