--- a/hotspot/src/share/vm/utilities/decoder_elf.hpp Wed Jul 05 11:03:19 2017 -0700
+++ b/hotspot/src/share/vm/utilities/decoder_elf.hpp Thu Jul 06 01:50:26 2017 +0200
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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
@@ -37,7 +37,7 @@
_opened_elf_files = NULL;
_decoder_status = no_error;
}
- ~ElfDecoder();
+ virtual ~ElfDecoder();
bool can_decode_C_frame_in_vm() const { return true; }