diff options
| author | 2021-06-25 08:55:22 +0100 | |
|---|---|---|
| committer | 2021-07-06 13:58:08 +0000 | |
| commit | dd411969bb486c36081926d61dbcc0bfbc8066a5 (patch) | |
| tree | aa0601299b351d41c349e64ed468cb2c9b95e6f4 /runtime/oat.h | |
| parent | f040914a122be86e280efe5e31af1168f2b7c72e (diff) | |
VarHandle: add StaticFieldVarHandle class
Add StaticFieldVarHandle class to keep a live reference to the
declaring class for the target field of VarHandle's targeting static
fields.
Bug: 191980149
Test: art/test.py --host -r -g
Change-Id: I3a1cada6591d146b8f9fc9066105e3b617290185
Diffstat (limited to 'runtime/oat.h')
| -rw-r--r-- | runtime/oat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/oat.h b/runtime/oat.h index ab45b84888..99268c0bca 100644 --- a/runtime/oat.h +++ b/runtime/oat.h @@ -32,8 +32,8 @@ class InstructionSetFeatures; class PACKED(4) OatHeader { public: static constexpr std::array<uint8_t, 4> kOatMagic { { 'o', 'a', 't', '\n' } }; - // Last oat version changed reason: Apex versions in key/value store. - static constexpr std::array<uint8_t, 4> kOatVersion { { '1', '9', '5', '\0' } }; + // Last oat version changed reason: StaticFieldVarHandle introduction. + static constexpr std::array<uint8_t, 4> kOatVersion { { '1', '9', '6', '\0' } }; static constexpr const char* kDex2OatCmdLineKey = "dex2oat-cmdline"; static constexpr const char* kDebuggableKey = "debuggable"; |