diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2018-01-18 19:26:27 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2018-01-18 19:26:27 +0000 |
commit | 5befc99fa744752d757fabf001ac250e32fdd8d5 (patch) | |
tree | d8f7cf9ccbd43c6a9c476aea965377f496f6606c /java/openjdk8 | |
parent | 3ee50c9dc8bf032e9e0398a5c326413f4b21c974 (diff) | |
download | ports-5befc99fa744752d757fabf001ac250e32fdd8d5.tar.gz ports-5befc99fa744752d757fabf001ac250e32fdd8d5.zip |
Notes
Diffstat (limited to 'java/openjdk8')
-rw-r--r-- | java/openjdk8/Makefile | 2 | ||||
-rw-r--r-- | java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index 1b5f8656c4da..ddd1f6a0173e 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -2,7 +2,7 @@ PORTNAME= openjdk PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER:S/^0//} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}/promoted/b${DIST_BUILD_NUMBER}/:jdk \ https://adopt-openjdk.ci.cloudbees.com/job/jtreg/${JTREG_JENKINS_BUILD}/artifact/:jtreg \ diff --git a/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp b/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp new file mode 100644 index 000000000000..ac002a41f888 --- /dev/null +++ b/java/openjdk8/files/patch-hotspot_src_share_vm_services_memTracker.cpp @@ -0,0 +1,13 @@ +--- hotspot/src/share/vm/services/memTracker.cpp.orig ++++ hotspot/src/share/vm/services/memTracker.cpp +@@ -67,10 +67,6 @@ NMT_TrackingLevel MemTracker::init_tracking_level() { + os::unsetenv(buf); + } + +- // Construct NativeCallStack::EMPTY_STACK. It may get constructed twice, +- // but it is benign, the results are the same. +- ::new ((void*)&NativeCallStack::EMPTY_STACK) NativeCallStack(0, false); +- + if (!MallocTracker::initialize(level) || + !VirtualMemoryTracker::initialize(level)) { + level = NMT_off; |