summaryrefslogtreecommitdiffstats
path: root/runtime/dex_file.h
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-08-21 15:59:43 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2014-08-21 16:00:27 -0700
commit67ef46adfb2c4990832e23aebeb9c0582d8519c4 (patch)
tree07f95a8a9c022c547842d43fedd155cbaff4df33 /runtime/dex_file.h
parented9fe4ffd9516cfb01b53a3a2c81d3e223ee352c (diff)
downloadart-67ef46adfb2c4990832e23aebeb9c0582d8519c4.zip
art-67ef46adfb2c4990832e23aebeb9c0582d8519c4.tar.gz
art-67ef46adfb2c4990832e23aebeb9c0582d8519c4.tar.bz2
Avoid handle-less fields in ClassLinker::InitializeClass()
There were some handle-less fields in a SafeMap across GC points. Bug: 12687968 Change-Id: Ib8c6527d4e23031f1d0074fa11d8f85499b68340
Diffstat (limited to 'runtime/dex_file.h')
-rw-r--r--runtime/dex_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex_file.h b/runtime/dex_file.h
index 2794af6..1e86bfc 100644
--- a/runtime/dex_file.h
+++ b/runtime/dex_file.h
@@ -1199,7 +1199,7 @@ class EncodedStaticFieldValueIterator {
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
template<bool kTransactionActive>
- void ReadValueToField(mirror::ArtField* field) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ void ReadValueToField(Handle<mirror::ArtField> field) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
bool HasNext() { return pos_ < array_size_; }