OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc44d6
)
Increase vtable size for String class
author
Yi Kong
<yikong@google.com>
Tue, 12 Apr 2016 21:38:06 +0000
(22:38 +0100)
committer
Yi Kong
<yikong@google.com>
Fri, 15 Apr 2016 23:18:41 +0000
(23:18 +0000)
Tracks libcore change
5458546631c65f6d375b6a1780d36d0abb5b95af
which
increases vtable size for String by four.
Bug:
28108421
Change-Id: I3f7b373ffc08a0f5351f04b5045866ea040f8e6e
runtime/mirror/string-inl.h
patch
|
blob
|
history
diff --git
a/runtime/mirror/string-inl.h
b/runtime/mirror/string-inl.h
index
0e7f7f3
..
6285542
100644
(file)
--- a/
runtime/mirror/string-inl.h
+++ b/
runtime/mirror/string-inl.h
@@
-33,7
+33,7
@@
namespace art {
namespace mirror {
inline uint32_t String::ClassSize(size_t pointer_size) {
- uint32_t vtable_entries = Object::kVTableLength + 5
2
;
+ uint32_t vtable_entries = Object::kVTableLength + 5
6
;
return Class::ComputeClassSize(true, vtable_entries, 0, 0, 0, 1, 2, pointer_size);
}