/hg/icedtea8-forest/hotspot: 45 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Mon May 28 08:34:34 UTC 2018


changeset 07a1135a3273 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=07a1135a3273
author: stefank
date: Fri May 04 18:06:53 2018 +0100

	8062808, PR3548: Turn on the -Wreturn-type warning
	Reviewed-by: mgerdin, tschatzl, coleenp, jrose, kbarrett


changeset bcbc64dfb629 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=bcbc64dfb629
author: coleenp
date: Mon May 07 18:14:16 2018 +0100

	8141570, PR3548: Fix Zero interpreter build for --disable-precompiled-headers
	Summary: change to include atomic.inline.hpp and allocation.inline.hpp only in .cpp files and some build fixes from Kim to build on ubuntu without devkits
	Reviewed-by: kbarrett, sgehwolf, erikj


changeset afb31413c73c in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=afb31413c73c
author: sgehwolf
date: Mon May 07 18:29:21 2018 +0100

	8143245, PR3548: Zero build requires disabled warnings
	Reviewed-by: dholmes, coleenp


changeset b8fc1e640c4c in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=b8fc1e640c4c
author: andrew
date: Fri May 11 20:12:10 2018 +0100

	PR3539, RH1548475: Pass EXTRA_LDFLAGS to HotSpot build


changeset 7f6e1069a571 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=7f6e1069a571
author: mdoerr
date: Tue Sep 06 13:01:27 2016 +0200

	8165489, PR3589: Missing G1 barrier in Unsafe_GetObjectVolatile
	Summary: Add missing barrier, sharing code with Unsafe_GetObject.
	Reviewed-by: kbarrett, mgerdin, pliden, tschatzl


changeset 999983606f5c in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=999983606f5c
author: andrew
date: Sun May 20 04:46:49 2018 +0100

	PR3593: s390 needs to use '%z' format specifier for size_t arguments as size_t != int


changeset 1d35411eb7bd in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=1d35411eb7bd
author: andrew
date: Thu Feb 15 04:07:25 2018 +0000

	8197981, PR3548: Missing return statement in __sync_val_compare_and_swap_8
	Summary: Fix issue discovered by -Wreturn-type on systems without LP64.
	Reviewed-by: aph


changeset d2e3920d2fd0 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=d2e3920d2fd0
author: asaha
date: Tue Dec 19 15:36:45 2017 -0800

	Added tag jdk8u162-b12 for changeset 69aec2ca5d90


changeset 1310ecbe61f3 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=1310ecbe61f3
author: asaha
date: Tue Oct 03 23:29:49 2017 -0700

	Added tag jdk8u171-b00 for changeset a17bab940547


changeset 3b6d2d60ff75 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=3b6d2d60ff75
author: robm
date: Fri Oct 27 20:39:22 2017 +0100

	8180881: Better packaging of deserialization
	Reviewed-by: chegar, acorn


changeset efda392b711e in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=efda392b711e
author: asaha
date: Thu Nov 02 11:31:01 2017 -0700

	Merge


changeset 55990d3e4c5e in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=55990d3e4c5e
author: hseigel
date: Wed Nov 08 09:17:12 2017 -0500

	8189123: More consistent classloading
	Reviewed-by: acorn, ahgross, rhalade
	Contributed-by: harold.seigel at oracle.com


changeset 671244881e16 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=671244881e16
author: mdoerr
date: Tue Nov 28 01:07:05 2017 +0300

	8191907: PPC64 part of JDK-8174962: Better interface invocations
	Reviewed-by: goetz


changeset 48900d625d66 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=48900d625d66
author: thartmann
date: Tue Nov 28 12:14:30 2017 +0100

	8190877: Better handling of abstract classes
	Reviewed-by: kvn, vlivanov, rhalade, ahgross, jwilhelm
	Contributed-by: tobias.hartmann at oracle.com


changeset 07275619e52e in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=07275619e52e
author: hseigel
date: Tue Dec 05 13:25:09 2017 -0500

	8190478: Improved interface method selection
	Reviewed-by: acorn, ahgross, jwilhelm, rhalade
	Contributed-by: harold.seigel at oracle.com


changeset d487949b2e97 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=d487949b2e97
author: dbuck
date: Mon Dec 18 18:18:10 2017 -0500

	8189851: [TESTBUG] runtime/RedefineTests/RedefineInterfaceCall.java fails
	Summary: modified jtreg tags and package import to work with JDK 8
	Reviewed-by: vlivanov, dholmes


changeset d278f122e65d in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=d278f122e65d
author: asaha
date: Fri Oct 06 08:33:21 2017 -0700

	Added tag jdk8u152-b31 for changeset 91894ffc746c


changeset 543fbed998c3 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=543fbed998c3
author: asaha
date: Tue Oct 31 14:55:33 2017 -0700

	Added tag jdk8u152-b32 for changeset d278f122e65d


changeset c066fe30d0a1 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=c066fe30d0a1
author: thartmann
date: Thu Aug 10 12:08:50 2017 +0530

	8184271: Time related C1 intrinsics produce inconsistent results when floating around
	Summary: C1 intrinsics for System.nanoTime(), System.currentTimeMillis() and JVM.counterTime() should be pinned.
	Reviewed-by: kvn, vlivanov, iveresov


changeset 12a0cebfae93 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=12a0cebfae93
author: asaha
date: Tue Nov 14 13:11:06 2017 -0800

	Added tag jdk8u152-b33 for changeset c066fe30d0a1


changeset f6719c3d0278 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=f6719c3d0278
author: asaha
date: Tue Dec 12 09:37:52 2017 -0800

	Added tag jdk8u152-b34 for changeset 12a0cebfae93


changeset 2c46d6f1b8ac in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=2c46d6f1b8ac
author: asaha
date: Thu Dec 14 13:07:47 2017 -0800

	Merge


changeset c50d35c759d8 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=c50d35c759d8
author: asaha
date: Fri Dec 15 11:41:32 2017 -0800

	Added tag jdk8u152-b35 for changeset f6719c3d0278


changeset 7bf41e318bfb in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=7bf41e318bfb
author: asaha
date: Fri Dec 15 15:40:06 2017 -0800

	Merge


changeset 1341a1a0155e in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=1341a1a0155e
author: asaha
date: Fri Dec 15 15:59:27 2017 -0800

	Merge


changeset caac74fe3cfa in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=caac74fe3cfa
author: asaha
date: Thu Dec 21 09:37:35 2017 -0800

	Merge


changeset ebfd57cc21e6 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=ebfd57cc21e6
author: asaha
date: Thu Dec 21 10:36:00 2017 -0800

	Merge


changeset 4981a8884a60 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=4981a8884a60
author: asaha
date: Tue Jan 02 16:14:51 2018 -0800

	Added tag jdk8u171-b01 for changeset ebfd57cc21e6


changeset 786ef88500f7 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=786ef88500f7
author: asaha
date: Thu Jan 04 15:44:38 2018 -0800

	Added tag jdk8u162-b31 for changeset caac74fe3cfa


changeset 1acd7c1b8024 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=1acd7c1b8024
author: asaha
date: Mon Jan 08 09:04:29 2018 -0800

	Merge


changeset 5587cde50bbc in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=5587cde50bbc
author: asaha
date: Tue Jan 09 12:36:45 2018 -0800

	Added tag jdk8u171-b02 for changeset 1acd7c1b8024


changeset 99ef46652330 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=99ef46652330
author: asaha
date: Tue Jan 23 13:09:12 2018 -0800

	Added tag jdk8u171-b03 for changeset 5587cde50bbc


changeset 425504a45630 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=425504a45630
author: asaha
date: Tue Jan 30 11:22:58 2018 -0800

	Added tag jdk8u171-b04 for changeset 99ef46652330


changeset 08326a76b148 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=08326a76b148
author: kbarrett
date: Mon Jan 22 14:27:46 2018 -0500

	8192025: Less referential references
	Reviewed-by: coleenp, eosterlund, mchung, ahgross, rhalade


changeset 4e1445535b6d in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=4e1445535b6d
author: asaha
date: Tue Feb 06 10:52:06 2018 -0800

	Added tag jdk8u171-b05 for changeset 08326a76b148


changeset fd0e42431b94 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=fd0e42431b94
author: asaha
date: Tue Feb 13 12:14:21 2018 -0800

	Added tag jdk8u171-b06 for changeset 4e1445535b6d


changeset 9ce702ef6376 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=9ce702ef6376
author: asaha
date: Tue Feb 20 12:55:25 2018 -0800

	Added tag jdk8u171-b07 for changeset fd0e42431b94


changeset 1252eaaa2c8b in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=1252eaaa2c8b
author: bgopularam
date: Thu Feb 22 21:28:07 2018 -0800

	8068778: [TESTBUG] CompressedClassSpaceSizeInJmapHeap.java fails if SA not available
	Reviewed-by: coleenp, sla


changeset 56123fdca84a in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=56123fdca84a
author: aph
date: Mon Jan 22 15:19:02 2018 +0000

	8194739: Zero port of 8174962: Better interface invocations
	Reviewed-by: adinn, coleenp


changeset 4fefe015a728 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=4fefe015a728
author: asaha
date: Tue Feb 27 11:27:17 2018 -0800

	Added tag jdk8u171-b08 for changeset 56123fdca84a


changeset 6d890180aeb4 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=6d890180aeb4
author: asaha
date: Tue Mar 06 11:43:49 2018 -0800

	Added tag jdk8u171-b09 for changeset 4fefe015a728


changeset 23addae1b843 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=23addae1b843
author: asaha
date: Mon Mar 19 11:46:40 2018 -0700

	Added tag jdk8u171-b10 for changeset 6d890180aeb4


changeset cb5711bf53d9 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=cb5711bf53d9
author: andrew
date: Fri May 25 01:50:17 2018 +0100

	Merge jdk8u171-b11


changeset d4ef9b2cdcf3 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=d4ef9b2cdcf3
author: andrew
date: Mon May 28 09:25:38 2018 +0100

	Added tag icedtea-3.8.0pre02 for changeset 7f6e1069a571


changeset 6915dc9ae18c in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=6915dc9ae18c
author: andrew
date: Mon May 28 09:26:07 2018 +0100

	Added tag icedtea-3.8.0 for changeset cb5711bf53d9


diffstat:

 .hgtags                                                   |  20 +++
 make/aix/makefiles/jsig.make                              |   2 +-
 make/aix/makefiles/saproc.make                            |   2 +-
 make/aix/makefiles/vm.make                                |   2 +-
 make/bsd/makefiles/jsig.make                              |   2 +-
 make/bsd/makefiles/saproc.make                            |   2 +-
 make/bsd/makefiles/vm.make                                |   2 +-
 make/linux/makefiles/gcc.make                             |   2 +-
 make/linux/makefiles/jsig.make                            |   2 +-
 make/linux/makefiles/saproc.make                          |   2 +-
 make/linux/makefiles/vm.make                              |   2 +-
 make/linux/makefiles/zeroshark.make                       |  10 +-
 src/cpu/x86/vm/x86_32.ad                                  |   1 +
 src/cpu/zero/vm/cppInterpreter_zero.cpp                   |   2 +-
 src/cpu/zero/vm/interpreterRT_zero.cpp                    |   4 +-
 src/cpu/zero/vm/methodHandles_zero.cpp                    |   6 +
 src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp                    |   1 +
 src/os_cpu/linux_x86/vm/os_linux_x86.cpp                  |   1 +
 src/os_cpu/linux_zero/vm/os_linux_zero.cpp                |  18 ++-
 src/os_cpu/linux_zero/vm/thread_linux_zero.hpp            |   3 +-
 src/share/vm/asm/codeBuffer.cpp                           |   2 +-
 src/share/vm/classfile/defaultMethods.cpp                 |   4 +-
 src/share/vm/classfile/javaClasses.cpp                    |  32 +++++-
 src/share/vm/classfile/javaClasses.hpp                    |  22 +++-
 src/share/vm/classfile/symbolTable.cpp                    |   4 +-
 src/share/vm/classfile/systemDictionary.cpp               |  10 +-
 src/share/vm/classfile/systemDictionary.hpp               |   3 +-
 src/share/vm/classfile/verificationType.cpp               |   4 +-
 src/share/vm/classfile/verifier.cpp                       |   4 +-
 src/share/vm/classfile/vmSymbols.hpp                      |   6 +-
 src/share/vm/code/codeCache.cpp                           |   2 +-
 src/share/vm/code/dependencies.cpp                        |  26 ++++
 src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp  |   2 +-
 src/share/vm/memory/blockOffsetTable.cpp                  |   2 +-
 src/share/vm/memory/collectorPolicy.cpp                   |   3 +-
 src/share/vm/memory/heapInspection.hpp                    |   2 +-
 src/share/vm/memory/metaspaceShared.hpp                   |   2 +-
 src/share/vm/oops/constantPool.hpp                        |   2 +-
 src/share/vm/oops/cpCache.cpp                             |  11 +-
 src/share/vm/oops/klass.cpp                               |  15 ++-
 src/share/vm/oops/klass.hpp                               |   6 +-
 src/share/vm/prims/jvm.cpp                                |  56 +++++++++-
 src/share/vm/prims/unsafe.cpp                             |  80 ++++++---------
 src/share/vm/runtime/arguments.cpp                        |  14 +-
 src/share/vm/runtime/java.cpp                             |   1 +
 src/share/vm/runtime/reflection.cpp                       |   2 +-
 src/share/vm/runtime/sharedRuntime.cpp                    |   2 +-
 src/share/vm/services/memTracker.hpp                      |   2 +-
 src/share/vm/utilities/globalDefinitions.hpp              |   9 +
 test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java |   5 +
 test/runtime/RedefineTests/RedefineInterfaceCall.java     |  11 +-
 51 files changed, 308 insertions(+), 124 deletions(-)

diffs (truncated from 1274 to 500 lines):

diff -r de79964656fc -r 6915dc9ae18c .hgtags
--- a/.hgtags	Thu May 03 04:16:52 2018 +0100
+++ b/.hgtags	Mon May 28 09:26:07 2018 +0100
@@ -1085,6 +1085,11 @@
 c1bf165d3b27e864a9f8eec5bb0c1e746a972ad5 jdk8u152-b15
 c14f056eed68c18d6bb0d4314f1a645699b7a600 icedtea-3.7.0pre01
 98b4b0661837817cc39047000e1a7efa6015af7c jdk8u152-b16
+91894ffc746c1681172aaa37e2cf5bff69560f20 jdk8u152-b31
+d278f122e65dfb5d239ed420a534df75f527a504 jdk8u152-b32
+c066fe30d0a141b14ab7788cbbd35eba11196e72 jdk8u152-b33
+12a0cebfae93a638dc69a34f8276e1ef43b11b7a jdk8u152-b34
+f6719c3d02787da6e232703f61efc931ead7683b jdk8u152-b35
 2d5100bddeb80cf767485b787fc3051311e3d7b9 jdk8u151-b00
 596b584c68b73ec635347807571463580deb955f jdk8u151-b01
 1f6f436360d5cd375b806aec1c78abb8fcb4e5f6 jdk8u151-b02
@@ -1178,3 +1183,18 @@
 c3618e1cdefdda6c262f082791bfd988e0e9d9c9 jdk8u162-b10
 39e2895b795aded8b584626fb019d35f12e9d1e7 jdk8u162-b11
 839becd2cb2fcc2f35ca421ae02f82173d999a86 icedtea-3.8.0pre01
+69aec2ca5d905dde1d0f29a89076d02a531808a3 jdk8u162-b12
+caac74fe3cfa9a8c859c28c97d1046a58252af27 jdk8u162-b31
+a17bab9405474602b18cd62e060a09b17d6413ac jdk8u171-b00
+ebfd57cc21e6b7f0c22b17c666b6b28c9340e207 jdk8u171-b01
+1acd7c1b80241def8fac90f70b0df16356adad47 jdk8u171-b02
+5587cde50bbc2aa031aefb47eaa36b041f5e7c4b jdk8u171-b03
+99ef466523302cfbd00496cf6575a00c8637b884 jdk8u171-b04
+08326a76b14888908523cf2bb1105de63b43544d jdk8u171-b05
+4e1445535b6d9c25ed34aba2768139da283847d0 jdk8u171-b06
+fd0e42431b94c889b3fea8d8aad048f51d559761 jdk8u171-b07
+56123fdca84a3b253b8ea6f72be85bd2ebf39fd0 jdk8u171-b08
+4fefe015a728955c9c25ef79e51501b68839ae75 jdk8u171-b09
+6d890180aeb43ee727b2f2cc0952ae0e1b8566c8 jdk8u171-b10
+7f6e1069a5719c8908b53774d3560ce851c7cd70 icedtea-3.8.0pre02
+cb5711bf53d9278904c1ee63630a5c82189cb09a icedtea-3.8.0
diff -r de79964656fc -r 6915dc9ae18c make/aix/makefiles/jsig.make
--- a/make/aix/makefiles/jsig.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/aix/makefiles/jsig.make	Mon May 28 09:26:07 2018 +0100
@@ -45,7 +45,7 @@
 # cause problems with interposing. See CR: 6466665
 # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE))
 
-LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE)
+LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE) $(EXTRA_LDFLAGS)
 
 LFLAGS_JSIG += $(BIN_UTILS)
 
diff -r de79964656fc -r 6915dc9ae18c make/aix/makefiles/saproc.make
--- a/make/aix/makefiles/saproc.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/aix/makefiles/saproc.make	Mon May 28 09:26:07 2018 +0100
@@ -66,7 +66,7 @@
 endif
 
 
-SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE)
+SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE) $(EXTRA_LDFLAGS)
 
 $(LIBSAPROC): $(SASRCFILES) $(SAMAPFILE)
 	$(QUIETLY) if [ "$(BOOT_JAVA_HOME)" = "" ]; then \
diff -r de79964656fc -r 6915dc9ae18c make/aix/makefiles/vm.make
--- a/make/aix/makefiles/vm.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/aix/makefiles/vm.make	Mon May 28 09:26:07 2018 +0100
@@ -117,7 +117,7 @@
 
 # Extra flags from gnumake's invocation or environment
 CFLAGS += $(EXTRA_CFLAGS)
-LFLAGS += $(EXTRA_CFLAGS)
+LFLAGS += $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)
 
 # Don't set excutable bit on stack segment
 # the same could be done by separate execstack command
diff -r de79964656fc -r 6915dc9ae18c make/bsd/makefiles/jsig.make
--- a/make/bsd/makefiles/jsig.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/bsd/makefiles/jsig.make	Mon May 28 09:26:07 2018 +0100
@@ -52,7 +52,7 @@
 # cause problems with interposing. See CR: 6466665
 # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE))
 
-LFLAGS_JSIG += -D_GNU_SOURCE -pthread $(LDFLAGS_HASH_STYLE)
+LFLAGS_JSIG += -D_GNU_SOURCE -pthread $(LDFLAGS_HASH_STYLE) $(EXTRA_LDFLAGS)
 
 # DEBUG_BINARIES overrides everything, use full -g debug information
 ifeq ($(DEBUG_BINARIES), true)
diff -r de79964656fc -r 6915dc9ae18c make/bsd/makefiles/saproc.make
--- a/make/bsd/makefiles/saproc.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/bsd/makefiles/saproc.make	Mon May 28 09:26:07 2018 +0100
@@ -114,7 +114,7 @@
 # bring in minimum version argument or we'll fail on OSX 10.10
 SA_LFLAGS = $(LFLAGS)
 endif
-SA_LFLAGS += $(LDFLAGS_HASH_STYLE)
+SA_LFLAGS += $(LDFLAGS_HASH_STYLE) $(EXTRA_LDFLAGS)
 
 BOOT_JAVA_INCLUDES = -I$(BOOT_JAVA_HOME)/include \
   -I$(BOOT_JAVA_HOME)/include/$(shell uname -s | tr "[:upper:]" "[:lower:]")
diff -r de79964656fc -r 6915dc9ae18c make/bsd/makefiles/vm.make
--- a/make/bsd/makefiles/vm.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/bsd/makefiles/vm.make	Mon May 28 09:26:07 2018 +0100
@@ -119,7 +119,7 @@
 
 # Extra flags from gnumake's invocation or environment
 CFLAGS += $(EXTRA_CFLAGS)
-LFLAGS += $(EXTRA_CFLAGS)
+LFLAGS += $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)
 
 # Don't set excutable bit on stack segment
 # the same could be done by separate execstack command
diff -r de79964656fc -r 6915dc9ae18c make/linux/makefiles/gcc.make
--- a/make/linux/makefiles/gcc.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/linux/makefiles/gcc.make	Mon May 28 09:26:07 2018 +0100
@@ -210,7 +210,7 @@
   WARNINGS_ARE_ERRORS += -Wno-return-type -Wno-empty-body -Qunused-arguments -Wno-uninitialized
 endif
 
-WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value
+WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wreturn-type
 
 ifeq ($(USE_CLANG),)
   # Since GCC 4.3, -Wconversion has changed its meanings to warn these implicit
diff -r de79964656fc -r 6915dc9ae18c make/linux/makefiles/jsig.make
--- a/make/linux/makefiles/jsig.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/linux/makefiles/jsig.make	Mon May 28 09:26:07 2018 +0100
@@ -44,7 +44,7 @@
 # cause problems with interposing. See CR: 6466665
 # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE))
 
-LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE)
+LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE) $(EXTRA_LDFLAGS)
 
 # DEBUG_BINARIES overrides everything, use full -g debug information
 ifeq ($(DEBUG_BINARIES), true)
diff -r de79964656fc -r 6915dc9ae18c make/linux/makefiles/saproc.make
--- a/make/linux/makefiles/saproc.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/linux/makefiles/saproc.make	Mon May 28 09:26:07 2018 +0100
@@ -73,7 +73,7 @@
 else
 ALT_SAINCDIR=
 endif
-SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE)
+SA_LFLAGS = $(MAPFLAG:FILENAME=$(SAMAPFILE)) $(LDFLAGS_HASH_STYLE) $(EXTRA_LDFLAGS)
 
 SAARCH ?= $(BUILDARCH)
 
diff -r de79964656fc -r 6915dc9ae18c make/linux/makefiles/vm.make
--- a/make/linux/makefiles/vm.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/linux/makefiles/vm.make	Mon May 28 09:26:07 2018 +0100
@@ -130,7 +130,7 @@
 
 # Extra flags from gnumake's invocation or environment
 CFLAGS += $(EXTRA_CFLAGS)
-LFLAGS += $(EXTRA_CFLAGS)
+LFLAGS += $(EXTRA_CFLAGS) $(EXTRA_LDFLAGS)
 
 # Don't set excutable bit on stack segment
 # the same could be done by separate execstack command
diff -r de79964656fc -r 6915dc9ae18c make/linux/makefiles/zeroshark.make
--- a/make/linux/makefiles/zeroshark.make	Thu May 03 04:16:52 2018 +0100
+++ b/make/linux/makefiles/zeroshark.make	Mon May 28 09:26:07 2018 +0100
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2007, 2008 Red Hat, Inc.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
@@ -25,8 +25,10 @@
 
 # Setup common to Zero (non-Shark) and Shark versions of VM
 
-# override this from the main file because some version of llvm do not like -Wundef
-WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wunused-function -Wunused-value
+# Some versions of llvm do not like -Wundef
+ifeq ($(USE_CLANG), true)
+  WARNING_FLAGS += -Wno-undef
+endif
 
 # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
@@ -42,5 +44,3 @@
 ifeq ($(ARCH_DATA_MODEL), 64)
   CFLAGS += -D_LP64=1
 endif
-
-OPT_CFLAGS/compactingPermGenGen.o = -O1
diff -r de79964656fc -r 6915dc9ae18c src/cpu/x86/vm/x86_32.ad
--- a/src/cpu/x86/vm/x86_32.ad	Thu May 03 04:16:52 2018 +0100
+++ b/src/cpu/x86/vm/x86_32.ad	Mon May 28 09:26:07 2018 +0100
@@ -1250,6 +1250,7 @@
 
 
   Unimplemented();
+  return 0; // Mute compiler
 }
 
 #ifndef PRODUCT
diff -r de79964656fc -r 6915dc9ae18c src/cpu/zero/vm/cppInterpreter_zero.cpp
--- a/src/cpu/zero/vm/cppInterpreter_zero.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/cpu/zero/vm/cppInterpreter_zero.cpp	Mon May 28 09:26:07 2018 +0100
@@ -100,7 +100,7 @@
     case T_DOUBLE:
     case T_VOID:
       return result;
-    default  : ShouldNotReachHere();
+    default  : ShouldNotReachHere(); return NULL_WORD;
   }
 }
 
diff -r de79964656fc -r 6915dc9ae18c src/cpu/zero/vm/interpreterRT_zero.cpp
--- a/src/cpu/zero/vm/interpreterRT_zero.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/cpu/zero/vm/interpreterRT_zero.cpp	Mon May 28 09:26:07 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2007, 2008, 2010 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -62,7 +62,7 @@
 }
 
 void InterpreterRuntime::SignatureHandlerGeneratorBase::push(BasicType type) {
-  ffi_type *ftype;
+  ffi_type *ftype = NULL;
   switch (type) {
   case T_VOID:
     ftype = &ffi_type_void;
diff -r de79964656fc -r 6915dc9ae18c src/cpu/zero/vm/methodHandles_zero.cpp
--- a/src/cpu/zero/vm/methodHandles_zero.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/cpu/zero/vm/methodHandles_zero.cpp	Mon May 28 09:26:07 2018 +0100
@@ -180,3 +180,9 @@
     return NULL;
   }
 }
+
+#ifndef PRODUCT
+void MethodHandles::trace_method_handle(MacroAssembler* _masm, const char* adaptername) {
+  // This is just a stub.
+}
+#endif //PRODUCT
diff -r de79964656fc -r 6915dc9ae18c src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp
--- a/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp	Mon May 28 09:26:07 2018 +0100
@@ -457,6 +457,7 @@
     long long unsigned int oldval,
     long long unsigned int newval) {
     ShouldNotCallThis();
+    return 0;
   }
 };
 #endif // !_LP64
diff -r de79964656fc -r 6915dc9ae18c src/os_cpu/linux_x86/vm/os_linux_x86.cpp
--- a/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/os_cpu/linux_x86/vm/os_linux_x86.cpp	Mon May 28 09:26:07 2018 +0100
@@ -541,6 +541,7 @@
   err.report_and_die();
 
   ShouldNotReachHere();
+  return true; // Mute compiler
 }
 
 void os::Linux::init_thread_fpu_state(void) {
diff -r de79964656fc -r 6915dc9ae18c src/os_cpu/linux_zero/vm/os_linux_zero.cpp
--- a/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Mon May 28 09:26:07 2018 +0100
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
+ * Copyright 2016 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -61,6 +61,7 @@
 
 frame os::get_sender_for_C_frame(frame* fr) {
   ShouldNotCallThis();
+  return frame(NULL, NULL); // silence compile warning.
 }
 
 frame os::current_frame() {
@@ -98,16 +99,19 @@
 
 address os::Linux::ucontext_get_pc(ucontext_t* uc) {
   ShouldNotCallThis();
+  return NULL; // silence compile warnings
 }
 
 ExtendedPC os::fetch_frame_from_context(void* ucVoid,
                                         intptr_t** ret_sp,
                                         intptr_t** ret_fp) {
   ShouldNotCallThis();
+  return NULL; // silence compile warnings
 }
 
 frame os::fetch_frame_from_context(void* ucVoid) {
   ShouldNotCallThis();
+  return frame(NULL, NULL); // silence compile warnings
 }
 
 extern "C" JNIEXPORT int
@@ -247,11 +251,16 @@
   }
 #endif // !PRODUCT
 
-  const char *fmt = "caught unhandled signal %d";
   char buf[64];
 
-  sprintf(buf, fmt, sig);
+  sprintf(buf, "caught unhandled signal %d", sig);
+
+// Silence -Wformat-security warning for fatal()
+PRAGMA_DIAG_PUSH
+PRAGMA_FORMAT_NONLITERAL_IGNORED
   fatal(buf);
+PRAGMA_DIAG_POP
+  return true; // silence compiler warnings
 }
 
 void os::Linux::init_thread_fpu_state(void) {
@@ -260,6 +269,7 @@
 
 int os::Linux::get_fpu_control_word() {
   ShouldNotCallThis();
+  return -1; // silence compile warnings
 }
 
 void os::Linux::set_fpu_control_word(int fpu) {
@@ -408,6 +418,7 @@
 
 extern "C" {
   int SpinPause() {
+      return -1; // silence compile warnings
   }
 
 
@@ -487,6 +498,7 @@
     long long unsigned int oldval,
     long long unsigned int newval) {
     ShouldNotCallThis();
+    return 0;
   }
 };
 #endif // !_LP64
diff -r de79964656fc -r 6915dc9ae18c src/os_cpu/linux_zero/vm/thread_linux_zero.hpp
--- a/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/os_cpu/linux_zero/vm/thread_linux_zero.hpp	Mon May 28 09:26:07 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
  * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
@@ -110,6 +110,7 @@
                                            void* ucontext,
                                            bool isInJava) {
     ShouldNotCallThis();
+    return false; // silence compile warning
   }
 
   // These routines are only used on cpu architectures that
diff -r de79964656fc -r 6915dc9ae18c src/share/vm/asm/codeBuffer.cpp
--- a/src/share/vm/asm/codeBuffer.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/share/vm/asm/codeBuffer.cpp	Mon May 28 09:26:07 2018 +0100
@@ -977,7 +977,7 @@
     for (int n = (int) CodeBuffer::SECT_FIRST; n < (int) CodeBuffer::SECT_LIMIT; n++) {
       CodeSection* sect = code_section(n);
       if (!sect->is_allocated() || sect->is_empty())  continue;
-      xtty->print_cr("<sect index='%d' size='" SIZE_FORMAT "' free='" SIZE_FORMAT "'/>",
+      xtty->print_cr("<sect index='%d' size='" INTX_FORMAT "' free='" INTX_FORMAT "'/>",
                      n, sect->limit() - sect->start(), sect->limit() - sect->end());
     }
     xtty->print_cr("</blob>");
diff -r de79964656fc -r 6915dc9ae18c src/share/vm/classfile/defaultMethods.cpp
--- a/src/share/vm/classfile/defaultMethods.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/share/vm/classfile/defaultMethods.cpp	Mon May 28 09:26:07 2018 +0100
@@ -506,7 +506,7 @@
   ss.write((const char*)name->bytes(), name->utf8_length());
   ss.write((const char*)signature->bytes(), signature->utf8_length());
   ss.print(" is abstract");
-  return SymbolTable::new_symbol(ss.base(), (int)ss.size(), CHECK_NULL);
+  return SymbolTable::new_symbol(ss.base(), (int)ss.size(), THREAD);
 }
 
 Symbol* MethodFamily::generate_conflicts_message(GrowableArray<Method*>* methods, TRAPS) const {
@@ -521,7 +521,7 @@
     ss.print(".");
     ss.write((const char*)name->bytes(), name->utf8_length());
   }
-  return SymbolTable::new_symbol(ss.base(), (int)ss.size(), CHECK_NULL);
+  return SymbolTable::new_symbol(ss.base(), (int)ss.size(), THREAD);
 }
 
 
diff -r de79964656fc -r 6915dc9ae18c src/share/vm/classfile/javaClasses.cpp
--- a/src/share/vm/classfile/javaClasses.cpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/share/vm/classfile/javaClasses.cpp	Mon May 28 09:26:07 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, 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
@@ -2679,6 +2679,32 @@
   *offset = value;
 }
 
+// Support for java_lang_ref_ReferenceQueue
+
+oop java_lang_ref_ReferenceQueue::NULL_queue() {
+  InstanceKlass* ik = InstanceKlass::cast(SystemDictionary::ReferenceQueue_klass());
+  oop mirror = ik->java_mirror();
+  return mirror->obj_field(static_NULL_queue_offset);
+}
+
+oop java_lang_ref_ReferenceQueue::ENQUEUED_queue() {
+  InstanceKlass* ik = InstanceKlass::cast(SystemDictionary::ReferenceQueue_klass());
+  oop mirror = ik->java_mirror();
+  return mirror->obj_field(static_ENQUEUED_queue_offset);
+}
+
+void java_lang_ref_ReferenceQueue::compute_offsets() {
+  Klass* k = SystemDictionary::ReferenceQueue_klass();
+  compute_offset(static_NULL_queue_offset,
+                 k,
+                 vmSymbols::referencequeue_null_name(),
+                 vmSymbols::referencequeue_signature());
+  compute_offset(static_ENQUEUED_queue_offset,
+                 k,
+                 vmSymbols::referencequeue_enqueued_name(),
+                 vmSymbols::referencequeue_signature());
+}
+
 // Support for java_lang_invoke_DirectMethodHandle
 
 int java_lang_invoke_DirectMethodHandle::_member_offset;
@@ -3197,6 +3223,8 @@
 int java_lang_ref_Reference::static_lock_offset;
 int java_lang_ref_Reference::static_pending_offset;
 int java_lang_ref_Reference::number_of_fake_oop_fields;
+int java_lang_ref_ReferenceQueue::static_NULL_queue_offset;
+int java_lang_ref_ReferenceQueue::static_ENQUEUED_queue_offset;
 int java_lang_ref_SoftReference::timestamp_offset;
 int java_lang_ref_SoftReference::static_clock_offset;
 int java_lang_ClassLoader::parent_offset;
@@ -3378,6 +3406,8 @@
   if (JDK_Version::is_jdk18x_version())
     java_lang_reflect_Parameter::compute_offsets();
 
+  java_lang_ref_ReferenceQueue::compute_offsets();
+
   // generated interpreter code wants to know about the offsets we just computed:
   AbstractAssembler::update_delayed_values();
 }
diff -r de79964656fc -r 6915dc9ae18c src/share/vm/classfile/javaClasses.hpp
--- a/src/share/vm/classfile/javaClasses.hpp	Thu May 03 04:16:52 2018 +0100
+++ b/src/share/vm/classfile/javaClasses.hpp	Mon May 28 09:26:07 2018 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2018, 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
@@ -929,6 +929,12 @@
   static HeapWord* discovered_addr(oop ref) {
     return ref->obj_field_addr<HeapWord>(discovered_offset);
   }
+  static inline oop queue(oop ref) {
+    return ref->obj_field(queue_offset);
+  }
+  static inline void set_queue(oop ref, oop value) {
+    return ref->obj_field_put(queue_offset, value);
+  }
   // Accessors for statics
   static oop  pending_list_lock();
   static oop  pending_list();
@@ -962,6 +968,20 @@
 };
 
 
+// Interface to java.lang.ref.ReferenceQueue objects
+
+class java_lang_ref_ReferenceQueue: public AllStatic {
+public:
+  static int static_NULL_queue_offset;
+  static int static_ENQUEUED_queue_offset;
+
+  // Accessors
+  static oop NULL_queue();
+  static oop ENQUEUED_queue();
+
+  static void compute_offsets();
+};
+
 // Interface to java.lang.invoke.MethodHandle objects
 
 class MethodHandleEntry;
diff -r de79964656fc -r 6915dc9ae18c src/share/vm/classfile/symbolTable.cpp
--- a/src/share/vm/classfile/symbolTable.cpp	Thu May 03 04:16:52 2018 +0100


More information about the distro-pkg-dev mailing list