--- a/src/hotspot/share/memory/iterator.hpp Fri Mar 02 10:42:32 2018 -0800
+++ b/src/hotspot/share/memory/iterator.hpp Fri Mar 02 17:25:55 2018 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -344,6 +344,9 @@
// correct length.
virtual void do_tag(int tag) = 0;
+ // Read/write the oop
+ virtual void do_oop(oop* o) = 0;
+
bool writing() {
return !reading();
}