hotspot/src/share/vm/utilities/decoder.cpp
changeset 47086 2b35673f6297
parent 31352 a6ab7217b5cc
--- a/hotspot/src/share/vm/utilities/decoder.cpp	Mon Aug 28 16:40:01 2017 +0000
+++ b/hotspot/src/share/vm/utilities/decoder.cpp	Fri Aug 18 09:05:42 2017 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, 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
@@ -30,6 +30,7 @@
 
 #if defined(_WINDOWS)
   #include "decoder_windows.hpp"
+  #include "windbghelp.hpp"
 #elif defined(__APPLE__)
   #include "decoder_machO.hpp"
 #elif defined(AIX)
@@ -162,3 +163,9 @@
   _shared_decoder = &_do_nothing_decoder;
 }
 
+void Decoder::print_state_on(outputStream* st) {
+#ifdef _WINDOWS
+  WindowsDbgHelp::print_state_on(st);
+#endif
+}
+