diff options
author | Sebastien Hertz <shertz@google.com> | 2015-02-05 16:30:58 +0100 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2015-02-05 18:28:54 +0100 |
commit | 3be6e9d904baa13d7cf51dfc6742dea12e766b2e (patch) | |
tree | 43ad5f3655d73243ab212eefb83169471a1d87b3 /runtime/runtime.h | |
parent | 24898d447640c3a45e6fc9f404b049eddc5a2709 (diff) | |
download | art-3be6e9d904baa13d7cf51dfc6742dea12e766b2e.zip art-3be6e9d904baa13d7cf51dfc6742dea12e766b2e.tar.gz art-3be6e9d904baa13d7cf51dfc6742dea12e766b2e.tar.bz2 |
Read JDWP options from runtime
Allocates JDWP::JdwpOptions on the heap and copies parsed options to
avoid the need to include jdwp/jdwp.h into runtime.h file.
Also does some minor cleanup and removes the old JDWP options parsing
code that became dead code after we move it to the new command-line
parser.
Bug: 19275792
Change-Id: I71901c89fbf2cc3c1901a089e2a98b4326c6ee70
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index 118c838..d98eb8d 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -47,6 +47,9 @@ namespace gc { class GarbageCollector; } // namespace collector } // namespace gc +namespace JDWP { + struct JdwpOptions; +} // namespace JDWP namespace mirror { class ArtMethod; class ClassLoader; @@ -682,6 +685,9 @@ class Runtime { // that there's no native bridge. bool is_native_bridge_loaded_; + // JDWP options for debugging. + const JDWP::JdwpOptions* jdwp_options_; + DISALLOW_COPY_AND_ASSIGN(Runtime); }; std::ostream& operator<<(std::ostream& os, const Runtime::CalleeSaveType& rhs); |