diff options
author | Ian Rogers <irogers@google.com> | 2014-05-15 14:47:50 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-05-15 14:47:50 -0700 |
commit | dd157d732b557a854b3689faf8a24170fb47c270 (patch) | |
tree | 09b1761180ce511273b6bd5782baadaabf43526d /runtime/well_known_classes.h | |
parent | 3b2bcbf9daf39f4cece7fde1186f3fa494000ed9 (diff) | |
download | art-dd157d732b557a854b3689faf8a24170fb47c270.zip art-dd157d732b557a854b3689faf8a24170fb47c270.tar.gz art-dd157d732b557a854b3689faf8a24170fb47c270.tar.bz2 |
Avoid some unnecessary use of stl types.
May be a minor performance win but really done for libc++ as this removes a
dependency on a library function whose prototype includes a std::string.
Change-Id: Ifc07a9caef1206caf2a69a6e1b0bfc0ba56c8c62
Diffstat (limited to 'runtime/well_known_classes.h')
-rw-r--r-- | runtime/well_known_classes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/well_known_classes.h b/runtime/well_known_classes.h index bc928d0..f6c2930 100644 --- a/runtime/well_known_classes.h +++ b/runtime/well_known_classes.h @@ -54,6 +54,7 @@ struct WellKnownClasses { static jclass java_lang_reflect_Proxy; static jclass java_lang_RuntimeException; static jclass java_lang_StackOverflowError; + static jclass java_lang_String; static jclass java_lang_System; static jclass java_lang_Thread; static jclass java_lang_ThreadGroup; |