head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2018.09.15.02.51.02; author ryoon; state dead; branches; next 1.1; commitid JMty5j1yhx4X89SA; 1.1 date 2018.08.20.17.24.00; author tnn; state Exp; branches; next ; commitid 0paoycep5hJJNSOA; desc @@ 1.2 log @Update to 1.8.181 Changelog: Fixed: CVE-2018-2938 CVE-2018-2964 CVE-2018-2941 CVE-2018-2942 CVE-2018-2972 CVE-2018-2973 CVE-2018-2940 CVE-2018-2952 @ text @$NetBSD: patch-hotspot_src_share_vm_services_memTracker.cpp,v 1.1 2018/08/20 17:24:00 tnn Exp $ clang>6 fixes. Ref: http://mail.openjdk.java.net/pipermail/bsd-port-dev/2018-May/003177.html --- hotspot/src/share/vm/services/memTracker.cpp.orig 2018-05-26 23:58:31.000000000 +0000 +++ hotspot/src/share/vm/services/memTracker.cpp @@@@ -67,10 +67,6 @@@@ NMT_TrackingLevel MemTracker::init_track 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; @ 1.1 log @openjdk8: apply upstream changeset be59128afb76 (fixes SEGV w/ clang>=6) @ text @d1 1 a1 1 $NetBSD$ @