OSDN Git Service

Track libcore change 2c0c8889ff415431e3c2d6d5ac95748f8b284384.
authorNarayan Kamath <narayan@google.com>
Wed, 8 Mar 2017 12:43:30 +0000 (12:43 +0000)
committerNarayan Kamath <narayan@google.com>
Wed, 8 Mar 2017 13:25:14 +0000 (13:25 +0000)
Update the size of Class' vtable.

Test: make test-art-host
Change-Id: I6613a3f1924a2347e0e4f9c4db31d126ab4deacc

runtime/mirror/class.h

index b68eedc..c52b66a 100644 (file)
@@ -595,7 +595,7 @@ class MANAGED Class FINAL : public Object {
   // The size of java.lang.Class.class.
   static uint32_t ClassClassSize(PointerSize pointer_size) {
     // The number of vtable entries in java.lang.Class.
-    uint32_t vtable_entries = Object::kVTableLength + 73;
+    uint32_t vtable_entries = Object::kVTableLength + 70;
     return ComputeClassSize(true, vtable_entries, 0, 0, 4, 1, 0, pointer_size);
   }