changeset 11461:631fb590133e

8158237: JVMTI hides critical debug information for memory leak tracing Summary: remove _backtrace as hidden field, original problem no longer exists Reviewed-by: sspitsyn, jiangli
author coleenp
date Mon, 13 Jun 2016 09:02:47 -0400
parents 560986399f7d
children 3f4173a750ac
files src/share/vm/runtime/reflectionUtils.cpp
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/reflectionUtils.cpp	Mon Jun 13 10:10:35 2016 +0200
+++ b/src/share/vm/runtime/reflectionUtils.cpp	Mon Jun 13 09:02:47 2016 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2016, 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
@@ -73,10 +73,7 @@
 
 
 void FilteredFieldsMap::initialize() {
-  int offset;
-  offset = java_lang_Throwable::get_backtrace_offset();
-  _filtered_fields->append(new FilteredField(SystemDictionary::Throwable_klass(), offset));
-  offset = reflect_ConstantPool::oop_offset();
+  int offset = reflect_ConstantPool::oop_offset();
   _filtered_fields->append(new FilteredField(SystemDictionary::reflect_ConstantPool_klass(), offset));
   offset = reflect_UnsafeStaticFieldAccessorImpl::base_offset();
   _filtered_fields->append(new FilteredField(SystemDictionary::reflect_UnsafeStaticFieldAccessorImpl_klass(), offset));