summaryrefslogtreecommitdiff
path: root/runtime/openjdkjvm/OpenjdkJvm.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-04-21 12:09:39 -0700
committer Andreas Gampe <agampe@google.com> 2017-04-21 16:48:00 -0700
commitc15a2f4f45661a7f5f542e406282c146ea1a968d (patch)
tree50ad6104b0b8739f272782c35a7022cca64d2601 /runtime/openjdkjvm/OpenjdkJvm.cc
parent9ae527f615f61aec4aaca310c52f373e8c3d8d58 (diff)
ART: Add object-readbarrier-inl.h
Move some read-barrier code into a new header. This prunes the include tree for the concurrent-copying collector. Clean up other related includes. Test: mmma art Change-Id: I40ce4e74f2e5d4c692529ffb4df933230b6fd73e
Diffstat (limited to 'runtime/openjdkjvm/OpenjdkJvm.cc')
-rw-r--r--runtime/openjdkjvm/OpenjdkJvm.cc29
1 files changed, 16 insertions, 13 deletions
diff --git a/runtime/openjdkjvm/OpenjdkJvm.cc b/runtime/openjdkjvm/OpenjdkJvm.cc
index bdaad20d7e..0b93b079d5 100644
--- a/runtime/openjdkjvm/OpenjdkJvm.cc
+++ b/runtime/openjdkjvm/OpenjdkJvm.cc
@@ -35,28 +35,31 @@
#include<stdio.h>
#include <dlfcn.h>
#include <limits.h>
+#include <sys/time.h>
+#include <sys/socket.h>
+#include <sys/ioctl.h>
#include <unistd.h>
+#include "../../libcore/ojluni/src/main/native/jvm.h" // TODO(narayan): fix it
+
+#include "base/logging.h"
+#include "base/macros.h"
#include "common_throws.h"
#include "gc/heap.h"
-#include "thread.h"
-#include "thread_list.h"
-#include "runtime.h"
#include "handle_scope-inl.h"
-#include "scoped_thread_state_change-inl.h"
-#include "ScopedUtfChars.h"
-#include "mirror/class_loader.h"
-#include "verify_object.h"
-#include "base/logging.h"
-#include "base/macros.h"
-#include "../../libcore/ojluni/src/main/native/jvm.h" // TODO(narayan): fix it
+#include "java_vm_ext.h"
#include "jni_internal.h"
+#include "mirror/class_loader.h"
#include "mirror/string-inl.h"
+#include "monitor.h"
#include "native/scoped_fast_native_object_access-inl.h"
+#include "runtime.h"
+#include "thread.h"
+#include "thread_list.h"
+#include "scoped_thread_state_change-inl.h"
#include "ScopedLocalRef.h"
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
+#include "ScopedUtfChars.h"
+#include "verify_object.h"
#undef LOG_TAG
#define LOG_TAG "artopenjdk"