--- a/hotspot/src/share/vm/classfile/metadataOnStackMark.cpp Thu Oct 15 13:28:22 2015 +0200
+++ b/hotspot/src/share/vm/classfile/metadataOnStackMark.cpp Sat Oct 17 19:40:30 2015 -0400
@@ -32,6 +32,9 @@
#include "runtime/thread.hpp"
#include "services/threadService.hpp"
#include "utilities/chunkedList.hpp"
+#if INCLUDE_JVMCI
+#include "jvmci/jvmciRuntime.hpp"
+#endif
MetadataOnStackBuffer* MetadataOnStackMark::_used_buffers = NULL;
MetadataOnStackBuffer* MetadataOnStackMark::_free_buffers = NULL;
@@ -57,6 +60,9 @@
CompileBroker::mark_on_stack();
JvmtiCurrentBreakpoints::metadata_do(Metadata::mark_on_stack);
ThreadService::metadata_do(Metadata::mark_on_stack);
+#if INCLUDE_JVMCI
+ JVMCIRuntime::metadata_do(Metadata::mark_on_stack);
+#endif
}
}