/[ports]/head/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp
ViewVC logotype

Contents of /head/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 459368 - (show annotations) (download)
Thu Jan 18 19:26:27 2018 UTC (6 years, 11 months ago) by jkim
File MIME type: text/plain
File size: 527 byte(s)
Fix a run-time crash with Clang 6.0.

Note this problem was introduced with fixes for JDK-8055007.

https://bugs.java.com/view_bug.do?bug_id=8055007
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/changeset/c6211b707068

PR:		225054

1 --- hotspot/src/share/vm/services/memTracker.cpp.orig
2 +++ hotspot/src/share/vm/services/memTracker.cpp
3 @@ -67,10 +67,6 @@ NMT_TrackingLevel MemTracker::init_tracking_level() {
4 os::unsetenv(buf);
5 }
6
7 - // Construct NativeCallStack::EMPTY_STACK. It may get constructed twice,
8 - // but it is benign, the results are the same.
9 - ::new ((void*)&NativeCallStack::EMPTY_STACK) NativeCallStack(0, false);
10 -
11 if (!MallocTracker::initialize(level) ||
12 !VirtualMemoryTracker::initialize(level)) {
13 level = NMT_off;

Properties

Name Value
fbsd:nokeywords yes
svn:eol-style native
svn:mime-type text/plain

  ViewVC Help
Powered by ViewVC 1.1.27