--- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Tue Nov 29 00:25:13 2016 +0300
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Sun Nov 27 19:58:30 2016 -0800
@@ -676,6 +676,9 @@
void print_adapter_on(outputStream* st) const;
};
+// This class is used only with DumpSharedSpaces==true. It holds extra information
+// that's used only during CDS dump time.
+// For details, see comments around Method::link_method()
class CDSAdapterHandlerEntry: public AdapterHandlerEntry {
address _c2i_entry_trampoline; // allocated from shared spaces "MC" region
AdapterHandlerEntry** _adapter_trampoline; // allocated from shared spaces "MD" region