/hg/icedtea7-forest/hotspot: 98 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Wed Aug 27 22:09:40 UTC 2014


changeset 9cb5dfd703dd in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=9cb5dfd703dd
author: andrew
date: Tue Aug 26 17:14:48 2014 +0100

	PR1948: Only try and symlink debuginfo if STRIP_POLICY is other than no_strip


changeset c1b245e7e701 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c1b245e7e701
author: katleman
date: Thu Jun 26 14:23:30 2014 -0700

	Added tag jdk7u80-b01 for changeset 05fe7a87d149


changeset 699a0d90d7f4 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=699a0d90d7f4
author: mikael
date: Tue May 27 16:05:29 2014 -0700

	8043206: Fix signed vs. unsigned comparison warning in copy_sparc.hpp
	Reviewed-by: coleenp, lfoltan, kvn


changeset 6ae83ea003fd in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=6ae83ea003fd
author: sgabdura
date: Wed Jun 04 09:36:15 2014 +0200

	8043354: OptimizePtrCompare too aggressive when allocations are present
	Summary: In bcEscapeAnalyzer update the _allocated_escapes flag if a var escapes the method.
	Reviewed-by: rasbold, kvn


changeset e293ec39c3a0 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=e293ec39c3a0
author: sgabdura
date: Mon Jun 02 13:26:49 2014 +0200

	8011646: SEGV in compiled code with loop predication
	Summary: Remove control edge of load node to ensure that castPP removal sets the control edge correctly
	Reviewed-by: anoll, kvn, roland


changeset f8795cb3f5c1 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f8795cb3f5c1
author: lana
date: Tue Jul 01 14:27:21 2014 -0700

	Merge


changeset 6bee813b7b17 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=6bee813b7b17
author: katleman
date: Mon Jul 14 19:20:36 2014 -0700

	Added tag jdk7u80-b01 for changeset e2533d62ca88


changeset dfbbd3199468 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=dfbbd3199468
author: katleman
date: Mon Jul 14 19:41:35 2014 -0700

	Merge


changeset c3b61b975954 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c3b61b975954
author: asaha
date: Tue Feb 11 12:33:19 2014 -0800

	Added tag jdk7u65-b00 for changeset b86119fa2748


changeset 902c60412b69 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=902c60412b69
author: asaha
date: Tue Feb 11 15:07:58 2014 -0800

	Merge


changeset 926c5c98bb26 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=926c5c98bb26
author: asaha
date: Tue Feb 11 17:06:29 2014 -0800

	Merge


changeset 1e71efaaaa5b in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=1e71efaaaa5b
author: asaha
date: Wed Feb 12 16:22:48 2014 -0800

	Merge


changeset bfcfcf77f411 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=bfcfcf77f411
author: hseigel
date: Fri Feb 14 12:07:27 2014 -0500

	8030763: Validate global memory allocation
	Summary: Add length checks where necessary
	Reviewed-by: coleenp, mschoene


changeset 207008854ba0 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=207008854ba0
author: asaha
date: Tue Feb 18 14:08:49 2014 -0800

	Merge


changeset 96d38216303f in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=96d38216303f
author: hseigel
date: Thu Feb 20 13:51:45 2014 -0500

	8034926: Attribute classes properly
	Summary: Add check to prevent underflow
	Reviewed-by: coleenp, ahgross


changeset 77d04d419019 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=77d04d419019
author: asaha
date: Thu Feb 20 08:56:21 2014 -0800

	Merge


changeset a133b4873886 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=a133b4873886
author: asaha
date: Thu Feb 20 15:09:32 2014 -0800

	Merge


changeset 75a5b21398a3 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=75a5b21398a3
author: asaha
date: Tue Feb 25 23:18:36 2014 -0800

	Merge


changeset 4a9635c98a91 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4a9635c98a91
author: asaha
date: Wed Feb 26 21:38:35 2014 -0800

	8035923: Set minor version for hotspot in 7u65 to 65 and build number to b01
	Reviewed-by: jcoomes


changeset 2407065fc820 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=2407065fc820
author: katleman
date: Thu Feb 27 11:58:31 2014 -0800

	Added tag jdk7u65-b01 for changeset 4a9635c98a91


changeset bbe9be4ea0d4 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=bbe9be4ea0d4
author: asaha
date: Thu Feb 27 13:00:19 2014 -0800

	Merge


changeset 6670d25b0255 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=6670d25b0255
author: hseigel
date: Tue Mar 04 15:58:08 2014 -0500

	8032536: JVM resolves wrong method in some unusual cases
	Summary: Handle package private case
	Reviewed-by: coleenp, acorn, jdn


changeset 6e5d97fc1fcd in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=6e5d97fc1fcd
author: asaha
date: Tue Mar 04 17:46:54 2014 -0800

	Merge


changeset eb797fab50d3 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=eb797fab50d3
author: asaha
date: Wed Mar 05 13:36:11 2014 -0800

	Merge


changeset 1d15e13e99a9 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=1d15e13e99a9
author: katleman
date: Wed Mar 05 16:28:02 2014 -0800

	Added tag jdk7u65-b02 for changeset eb797fab50d3


changeset af178153a503 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=af178153a503
author: asaha
date: Tue Mar 11 14:50:14 2014 -0700

	Merge


changeset 4c7632e49838 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4c7632e49838
author: asaha
date: Tue Mar 11 15:15:49 2014 -0700

	Merge


changeset bb00df28ecdb in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=bb00df28ecdb
author: asaha
date: Wed Mar 12 14:55:11 2014 -0700

	Merge


changeset 59a0be024ffb in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=59a0be024ffb
author: katleman
date: Thu Mar 13 13:16:48 2014 -0700

	Added tag jdk7u65-b03 for changeset bb00df28ecdb


changeset f9dfc73ddf90 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f9dfc73ddf90
author: asaha
date: Tue Mar 18 13:08:04 2014 -0700

	Merge


changeset c650f71b9c67 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c650f71b9c67
author: hseigel
date: Wed Mar 19 14:18:19 2014 -0400

	8036800: Attribute OOM to correct part of code
	Summary: checks that the attribute_length does not exceed the length of remaining data in the class file
	Reviewed-by: coleenp, ahgross


changeset 458f18560343 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=458f18560343
author: hseigel
date: Wed Mar 19 18:04:09 2014 -0400

	8035119: Fix exceptions to bytecode verification
	Summary: Prevent ctor calls to super() and this() from avoidable code (try blocks, if stmts, etc.)
	Reviewed-by: coleenp, acorn, mschoene


changeset 848481af9003 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=848481af9003
author: hseigel
date: Thu Mar 20 08:46:41 2014 -0400

	8034985: Better form for Lambda Forms
	Summary: Only allow classes loaded by boot or extensions class loaders, or anonymous classes, to access privileged annotations.
	Reviewed-by: coleenp, ahgross, twisti


changeset dd49b20b15f4 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=dd49b20b15f4
author: katleman
date: Thu Mar 20 13:04:48 2014 -0700

	Added tag jdk7u65-b04 for changeset 848481af9003


changeset 98a884fa64a9 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=98a884fa64a9
author: asaha
date: Thu Mar 20 14:57:48 2014 -0700

	Merge


changeset 523355010e35 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=523355010e35
author: katleman
date: Tue Mar 25 11:18:54 2014 -0700

	Added tag jdk7u65-b05 for changeset 98a884fa64a9


changeset 6f1dddf9c632 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=6f1dddf9c632
author: asaha
date: Thu Mar 27 12:18:11 2014 -0700

	Merge


changeset d625fa9e59bb in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=d625fa9e59bb
author: katleman
date: Tue Apr 01 12:01:39 2014 -0700

	Added tag jdk7u65-b06 for changeset 6f1dddf9c632


changeset ed0d828486a4 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=ed0d828486a4
author: asaha
date: Thu Apr 03 11:19:47 2014 -0700

	Merge


changeset 02f12a9d5aec in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=02f12a9d5aec
author: coleenp
date: Fri Apr 04 13:37:56 2014 -0500

	8037076: Check constant pool constants
	Summary: Fix events log string.
	Reviewed-by: kvn, mschoene
	Contributed-by: paul.nauman at oracle.com


changeset a053d3d80535 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=a053d3d80535
author: asaha
date: Fri Apr 04 16:17:30 2014 -0700

	8039324: Increment hsx 24.65 build to b02 for 7u65-b07
	Reviewed-by: jcoomes


changeset 7df501a095c5 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=7df501a095c5
author: katleman
date: Tue Apr 08 11:34:21 2014 -0700

	Added tag jdk7u65-b07 for changeset a053d3d80535


changeset 63574c639b1d in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=63574c639b1d
author: asaha
date: Wed Apr 09 14:07:17 2014 -0700

	Merge


changeset f30a8a82c54f in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f30a8a82c54f
author: asaha
date: Mon Apr 14 08:43:38 2014 -0700

	8040156: Increment hsx 24.65 build to b03 for 7u65-b08
	Reviewed-by: jcoomes


changeset f0f39dbf68aa in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f0f39dbf68aa
author: hseigel
date: Mon Apr 07 09:22:54 2014 -0400

	8037157: Verify <init> call
	Summary: Check for null method
	Reviewed-by: coleenp, acorn, mschoene


changeset 6f03dfb50363 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=6f03dfb50363
author: asaha
date: Mon Apr 14 08:45:59 2014 -0700

	Merge


changeset 4ceb9c03fe8e in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4ceb9c03fe8e
author: katleman
date: Tue Apr 15 23:00:35 2014 -0700

	Added tag jdk7u65-b08 for changeset 6f03dfb50363


changeset f5cb7599f587 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f5cb7599f587
author: asaha
date: Mon Apr 14 16:33:56 2014 -0700

	Merge


changeset 76c718fca65d in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=76c718fca65d
author: asaha
date: Tue Apr 15 12:13:51 2014 -0700

	Merge


changeset 5047927a9b8d in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=5047927a9b8d
author: asaha
date: Wed Apr 16 10:09:07 2014 -0700

	Merge


changeset a78d104b5d82 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=a78d104b5d82
author: asaha
date: Wed Apr 16 13:35:41 2014 -0700

	Merge


changeset 98e65cb0c384 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=98e65cb0c384
author: asaha
date: Fri Apr 18 22:04:33 2014 -0700

	8041264: Increment hsx 24.65 build to b04 for 7u65-b09
	Reviewed-by: jcoomes


changeset 16b9b3c08181 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=16b9b3c08181
author: acorn
date: Tue Apr 15 15:10:07 2014 -0500

	8037167: Better method signature resolution
	Reviewed-by: mschoene, hseigel, lfoltan
	Contributed-by: paul.nauman at oracle.com


changeset 2d77f0f9338a in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=2d77f0f9338a
author: asaha
date: Fri Apr 18 22:11:23 2014 -0700

	Merge


changeset 0901a8cf66a0 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=0901a8cf66a0
author: katleman
date: Mon Apr 07 12:17:30 2014 -0700

	Added tag jdk7u55-b32 for changeset ba9270b8fb1f


changeset af947b2746da in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=af947b2746da
author: katleman
date: Tue Apr 08 11:15:34 2014 -0700

	Added tag jdk7u55-b33 for changeset 0901a8cf66a0


changeset b4930eb1ea76 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=b4930eb1ea76
author: asaha
date: Mon Apr 21 09:59:51 2014 -0700

	Merge


changeset c40bb388ca82 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c40bb388ca82
author: katleman
date: Tue Apr 22 11:46:59 2014 -0700

	Added tag jdk7u65-b09 for changeset b4930eb1ea76


changeset 4736382ac9d9 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4736382ac9d9
author: asaha
date: Thu Apr 24 12:01:36 2014 -0700

	Merge


changeset 7349b5e998e3 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=7349b5e998e3
author: katleman
date: Tue Apr 29 12:35:37 2014 -0700

	Added tag jdk7u65-b10 for changeset 4736382ac9d9


changeset 2e9f7efdd172 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=2e9f7efdd172
author: asaha
date: Tue Apr 29 13:56:29 2014 -0700

	Merge


changeset 7345c7bf20fd in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=7345c7bf20fd
author: asaha
date: Thu May 01 09:05:00 2014 -0700

	Merge


changeset 14df0698f407 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=14df0698f407
author: katleman
date: Tue May 06 10:02:38 2014 -0700

	Added tag jdk7u65-b11 for changeset 7345c7bf20fd


changeset 28b81694b89f in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=28b81694b89f
author: asaha
date: Thu May 08 11:16:55 2014 -0700

	Merge


changeset f4ed018b4c51 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f4ed018b4c51
author: katleman
date: Tue May 13 08:13:24 2014 -0700

	Added tag jdk7u65-b12 for changeset 28b81694b89f


changeset 7ec585caae47 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=7ec585caae47
author: katleman
date: Tue May 20 12:36:51 2014 -0700

	Added tag jdk7u65-b13 for changeset f4ed018b4c51


changeset 7058f0d30de6 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=7058f0d30de6
author: katleman
date: Wed May 28 02:33:59 2014 -0700

	Added tag jdk7u65-b14 for changeset 7ec585caae47


changeset f1b2970a2564 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f1b2970a2564
author: katleman
date: Tue Jun 03 13:52:52 2014 -0700

	Added tag jdk7u65-b15 for changeset 7058f0d30de6


changeset 4c6df9a369cb in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4c6df9a369cb
author: katleman
date: Fri Jun 13 11:56:38 2014 -0700

	Added tag jdk7u65-b16 for changeset f1b2970a2564


changeset aca05127f95b in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=aca05127f95b
author: katleman
date: Tue Jun 17 13:02:52 2014 -0700

	Added tag jdk7u65-b17 for changeset 4c6df9a369cb


changeset f113205ab5a9 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f113205ab5a9
author: asaha
date: Wed Jun 25 08:29:30 2014 -0700

	Added tag jdk7u65-b30 for changeset aca05127f95b


changeset 589326588e57 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=589326588e57
author: asaha
date: Wed Jul 02 09:38:21 2014 -0700

	Added tag jdk7u55-b15 for changeset 4e73c6403b44


changeset d006213be747 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=d006213be747
author: asaha
date: Wed Jul 02 09:48:59 2014 -0700

	Merge


changeset 1d8226b3e989 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=1d8226b3e989
author: asaha
date: Wed Jul 02 10:07:55 2014 -0700

	Added tag jdk7u65-b18 for changeset d006213be747


changeset 74fb15aa1c09 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=74fb15aa1c09
author: asaha
date: Wed Jul 02 21:04:56 2014 -0700

	Merge


changeset a79149401826 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=a79149401826
author: asaha
date: Tue Jul 08 12:30:48 2014 -0700

	Merge


changeset c43b0b843f89 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c43b0b843f89
author: asaha
date: Wed Jul 09 15:01:52 2014 -0700

	Added tag jdk7u65-b19 for changeset 1d8226b3e989


changeset d3c9265e12fa in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=d3c9265e12fa
author: asaha
date: Thu Jul 10 08:49:48 2014 -0700

	Added tag jdk7u65-b32 for changeset c43b0b843f89


changeset 54d3e374f260 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=54d3e374f260
author: asaha
date: Thu Jul 10 09:32:29 2014 -0700

	Merge


changeset 2c3305db3a4c in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=2c3305db3a4c
author: asaha
date: Mon Jul 14 22:35:58 2014 -0700

	Merge


changeset 64af454a479f in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=64af454a479f
author: asaha
date: Mon Jul 14 22:24:01 2014 -0700

	Merge


changeset 8e2418888848 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=8e2418888848
author: asaha
date: Mon Jul 14 22:40:42 2014 -0700

	Merge


changeset e97997718e77 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=e97997718e77
author: poonam
date: Wed Jul 02 02:06:45 2014 -0700

	8031290: Adjust call to getisax() for additional words returned
	8019324: assert(_f2 == 0 || _f2 == f2) failed: illegal field change
	Summary: Add support for Sparc T7 and fix the assertion failure in cpCacheOop
	Reviewed-by: dholmes, jmasa


changeset 65ee230d3b30 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=65ee230d3b30
author: mikael
date: Mon Jun 16 16:27:41 2014 -0700

	8046769: Set T family feature bit on Niagara systems
	Reviewed-by: kvn, iveresov


changeset 061d770f0096 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=061d770f0096
author: lana
date: Wed Jul 09 13:35:48 2014 -0700

	Merge


changeset 29a40195a39c in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=29a40195a39c
author: sgabdura
date: Mon Jul 14 14:53:50 2014 +0200

	8041918: BootstrapMethods attribute cannot be empty.
	Summary: Allow a BootstrapMethods attribute that contains an empty bootstrap_methods table where num_bootstrap_methods is equal to zero.
	Reviewed-by: lfoltan, coleenp, hseigel


changeset 4270452e5ac9 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4270452e5ac9
author: poonam
date: Fri Jul 18 09:51:53 2014 -0700

	8048271: Minor GC times doubled from JDK 6u35 to JDK 7u51
	Summary: Made JavaObjectsInPerm a diagnostic option
	Reviewed-by: jmasa, kevinw


changeset bd8f2377a415 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=bd8f2377a415
author: lana
date: Tue Jul 22 18:19:27 2014 -0700

	Merge


changeset 1744e61450ea in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=1744e61450ea
author: zgu
date: Fri Jul 18 11:14:20 2014 -0700

	8050165: linux-sparcv9: NMT detail causes assert((intptr_t*)younger_sp[FP->sp_offset_in_saved_window()] == (intptr_t*)((intptr_t)sp - STACK_BIAS)) failed: younger_sp must be valid
	Summary: Fixed native memory tracking stack walking
	Reviewed-by: coleenp, mikael


changeset fa21e59721c4 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=fa21e59721c4
author: zgu
date: Mon Jul 21 06:00:44 2014 -0700

	8050167: linux-sparcv9: hs_err file does not show any stack information
	Summary: Fixed creation of starting stack frame for stack walking in error handler
	Reviewed-by: coleenp, mikael


changeset 4913b2634773 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=4913b2634773
author: zgu
date: Thu Jul 24 09:33:08 2014 -0400

	Merge


changeset f0d3edacea3a in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=f0d3edacea3a
author: sgabdura
date: Thu Jul 31 12:10:10 2014 +0200

	8051844: BootstrapMethods attribute cannot be empty again
	Summary: Fix JDK-8034926 was pushed second time after JDK-8041918 and cause it again. Recommit the fix JDK-8041918.
	Reviewed-by: lfoltan


changeset 16f41a7c5c28 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=16f41a7c5c28
author: kvn
date: Tue Aug 05 14:44:18 2014 -0700

	8049542: C2: assert(size_in_words <= (julong)max_jint) failed: no overflow
	Summary: Added juint cast to avoid gcc problem we have on one of our platforms.
	Reviewed-by: dholmes, roland


changeset bad107a5d096 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=bad107a5d096
author: hseigel
date: Tue Aug 05 23:10:45 2014 -0400

	8051012: Regression in verifier for <init> method call from inside of a branch
	Summary: Fix stackmap matching for branches.
	Reviewed-by: coleenp, lfoltan, acorn


changeset c8c45895c863 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=c8c45895c863
author: andrew
date: Tue Aug 26 17:33:01 2014 +0100

	Merge jdk7u80-b02


changeset 8ffb87775f56 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=8ffb87775f56
author: andrew
date: Wed Aug 27 19:47:02 2014 +0100

	PR1948: Fix indenting


changeset 9926b4a22b25 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=9926b4a22b25
author: andrew
date: Wed Aug 27 23:04:23 2014 +0100

	Added tag icedtea-2.6pre07 for changeset 8ffb87775f56


changeset 69d9f2195369 in /hg/icedtea7-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea7-forest/hotspot?cmd=changeset;node=69d9f2195369
author: andrew
date: Wed Aug 27 23:07:43 2014 +0100

	Added tag icedtea-2.6pre06 for changeset b517477362d1


diffstat:

 .hgtags                                                             |   30 ++-
 make/linux/makefiles/vm.make                                        |   32 +-
 src/cpu/sparc/vm/copy_sparc.hpp                                     |    2 +-
 src/cpu/sparc/vm/vm_version_sparc.hpp                               |    8 +-
 src/os/bsd/vm/os_bsd.cpp                                            |    8 +-
 src/os/linux/vm/os_linux.cpp                                        |    8 +-
 src/os/solaris/vm/os_solaris.cpp                                    |    8 +-
 src/os/windows/vm/os_windows.cpp                                    |   46 +--
 src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp                        |   11 +-
 src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp                |    2 +-
 src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp            |   23 +-
 src/share/vm/ci/bcEscapeAnalyzer.cpp                                |    3 +
 src/share/vm/classfile/classFileParser.cpp                          |   70 ++++--
 src/share/vm/classfile/classFileParser.hpp                          |   24 +-
 src/share/vm/classfile/stackMapTable.cpp                            |   24 +-
 src/share/vm/classfile/stackMapTable.hpp                            |    6 +-
 src/share/vm/classfile/verifier.cpp                                 |   28 ++-
 src/share/vm/classfile/verifier.hpp                                 |    3 +-
 src/share/vm/compiler/compileBroker.cpp                             |    3 +-
 src/share/vm/oops/cpCacheOop.hpp                                    |   15 +-
 src/share/vm/oops/klassVtable.cpp                                   |   27 ++-
 src/share/vm/oops/typeArrayOop.hpp                                  |    2 +-
 src/share/vm/opto/library_call.cpp                                  |   54 ++--
 src/share/vm/runtime/globals.hpp                                    |    2 +-
 src/share/vm/runtime/os.hpp                                         |    5 +-
 src/share/vm/utilities/events.cpp                                   |    6 +-
 src/share/vm/utilities/vmError.cpp                                  |    3 +-
 test/compiler/EscapeAnalysis/TestAllocatedEscapesPtrComparison.java |  107 ++++++++++
 test/compiler/intrinsics/hashcode/TestHashCode.java                 |   73 ++++++
 test/runtime/classFileParserBug/TestEmptyBootstrapMethodsAttr.java  |   75 +++++++
 test/runtime/classFileParserBug/emptynumbootstrapmethods.jar        |  Bin 
 test/runtime/classFileParserBug/emptynumbootstrapmethods1.jcod      |   68 ++++++
 test/runtime/classFileParserBug/emptynumbootstrapmethods2.jcod      |   89 ++++++++
 33 files changed, 691 insertions(+), 174 deletions(-)

diffs (truncated from 1631 to 500 lines):

diff -r b517477362d1 -r 69d9f2195369 .hgtags
--- a/.hgtags	Wed Aug 13 15:49:58 2014 +0100
+++ b/.hgtags	Wed Aug 27 23:07:43 2014 +0100
@@ -631,6 +631,7 @@
 408028d410e316a99495c42df0031018890c22fe jdk7u55-b02
 50fb91504dd8cdf410eb956075442daf3aacf1db jdk7u55-b03
 3be3b8a032a5508646c1c5620cee18d3e69fc708 jdk7u55-b04
+b86119fa2748bd91ae4984ff2264da92b6626f8c jdk7u65-b00
 b86119fa2748bd91ae4984ff2264da92b6626f8c jdk7u55-b05
 260d919d52e500a0b20f911fade2a7710474067a jdk7u55-b06
 8cf6e0a3a0651c4132ae034c2b68ddf4eb5c4d88 jdk7u55-b07
@@ -643,7 +644,10 @@
 b021fd817a0177b31d1e3d65127a27458e85801e jdk7u55-b13
 d27b468d5f3be3329ff1ff342f3347e6b2e0303b jdk7u55-b30
 dff9147a781672f20bb0577a94233264ea4a95d1 jdk7u55-b14
+4e73c6403b44f86d579b1ba03ea636c52c4b559b jdk7u55-b15
 8175599864880938d68d0a515fa561043d7d5fd0 jdk7u55-b31
+ba9270b8fb1f4852ff1d9dab15571eb9e0714495 jdk7u55-b32
+0901a8cf66a0494b55bf104c9666d4e3c6ff93f0 jdk7u55-b33
 ae4adc1492d1c90a70bd2d139a939fc0c8329be9 jdk7u60-b00
 af1fc2868a2b919727bfbb0858449bd991bbee4a jdk7u40-b60
 cc83359f5e5eb46dd9176b0a272390b1a0a51fdc hs24.60-b01
@@ -672,9 +676,30 @@
 b226be2040f971855626f5b88cb41a7d5299fea0 jdk7u60-b14
 2871f345b7e5585e20dc7aa91035967fe774cfba jdk7u60-b15
 ec76bacbb5b90efc7988dee5345c656126b97561 jdk7u60-b16
+617a6338e0c4f7699eed5061d7e8f576c3ace029 jdk7u60-b17
 617a6338e0c4f7699eed5061d7e8f576c3ace029 jdk7u60-b18
-617a6338e0c4f7699eed5061d7e8f576c3ace029 jdk7u60-b17
+4a9635c98a917cfcef506ca5d034c733a33c53f3 jdk7u65-b01
 361493c7cdb5f75b28efc63389d6cebaaaa43a2c jdk7u60-b19
+eb797fab50d3b440b17b3e7c5d83f42bfa73655e jdk7u65-b02
+bb00df28ecdbd0da89ab4ed81f6f2b732fa512da jdk7u65-b03
+848481af9003067546c7f34c166bb8d745b95d5f jdk7u65-b04
+98a884fa64a9ef1753a28691106efe10942b9d70 jdk7u65-b05
+6f1dddf9c632bfb14121c9521d17b64bd0be0cd2 jdk7u65-b06
+a053d3d805355ffcd85c17e653182e17d4456bd5 jdk7u65-b07
+6f03dfb50363d26599fcf726586ea3f6d0e0347d jdk7u65-b08
+b4930eb1ea7630b4d8609e2efe6f000d3dc83235 jdk7u65-b09
+4736382ac9d999044b05eb26932ab6fc59dbb159 jdk7u65-b10
+7345c7bf20fd8c91492240a95082af9a201b3a96 jdk7u65-b11
+28b81694b89f88541e28bbc767d78e77ec66cce6 jdk7u65-b12
+f4ed018b4c51dae699da835617b19e8a49c124a4 jdk7u65-b13
+7ec585caae47f7202fb5357607f9ad058b03870e jdk7u65-b14
+7058f0d30de6826b6866ce2d146c63e943be33af jdk7u65-b15
+f1b2970a2564c3360db420431cfbba215da6ae43 jdk7u65-b16
+4c6df9a369cb9d54fe2d898452883a22b8ec6640 jdk7u65-b17
+aca05127f95b5704ee3a34104a8f86e36326f0c0 jdk7u65-b30
+d006213be74730453cf5c3ce31f1d1d505334419 jdk7u65-b18
+1d8226b3e9896656451801393eb3ae394faeb638 jdk7u65-b19
+c43b0b843f897a4d8cf0a3566b017b87230dd3b4 jdk7u65-b32
 b92f390febd01615af4a736b4f830f6052aa1d09 hs24.80-b00
 1448ebfef4f1aae0174eca983ad05507730ca6fd hs24.80-b01
 b1d29549dca7e36a4d050af5a54f8f56963a5c7d hs24.80-b02
@@ -689,3 +714,6 @@
 2fd819c8b5066a480f9524d901dbd34f2cf563ad icedtea-2.6pre04
 fae3b09fe959294f7a091a6ecaae91daf1cb4f5c icedtea-2.6pre05
 05fe7a87d14908eb3f21a0d29fc72cee2f996b7f jdk7u80-b00
+e2533d62ca887078e4b952a75a75680cfb7894b9 jdk7u80-b01
+8ffb87775f56ed5c602f320d2513351298ee4778 icedtea-2.6pre07
+b517477362d1b0d4f9b567c82db85136fd14bc6e icedtea-2.6pre06
diff -r b517477362d1 -r 69d9f2195369 make/linux/makefiles/vm.make
--- a/make/linux/makefiles/vm.make	Wed Aug 13 15:49:58 2014 +0100
+++ b/make/linux/makefiles/vm.make	Wed Aug 27 23:07:43 2014 +0100
@@ -354,28 +354,28 @@
             fi 								\
 	}
 
- 	ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
-    	     ifneq ($(STRIP_POLICY),no_strip)
+ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
+     ifneq ($(STRIP_POLICY),no_strip)
 	     	   $(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJVM_DEBUGINFO)
 		   $(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJVM_DEBUGINFO) $@
-  	     endif
-    	     ifeq ($(STRIP_POLICY),all_strip)
+     endif
+     ifeq ($(STRIP_POLICY),all_strip)
 	     	  $(QUIETLY) $(STRIP) $@
-    	     else
-    	     ifeq ($(STRIP_POLICY),min_strip)
+     else
+     ifeq ($(STRIP_POLICY),min_strip)
 	     	  $(QUIETLY) $(STRIP) -g $@
-    		  # implied else here is no stripping at all
-    	     endif
-    	     endif
- 	endif
-	$(QUIETLY) [ -f $(LIBJVM_G_DEBUGINFO) ] || ln -s $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO)
- 	ifeq ($(ZIP_DEBUGINFO_FILES),1)
-   	     ifneq ($(STRIP_POLICY),no_strip)
-	     	   $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO)
+	  # implied else here is no stripping at all
+     endif
+     endif
+     ifneq ($(STRIP_POLICY),no_strip)
+	       $(QUIETLY) [ -f $(LIBJVM_G_DEBUGINFO) ] || ln -s $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO)
+     ifeq ($(ZIP_DEBUGINFO_FILES),1)
+	           $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO)
 		   $(RM) $(LIBJVM_DEBUGINFO) $(LIBJVM_G_DEBUGINFO)
 		   [ -f $(LIBJVM_G_DIZ) ] || { ln -s $(LIBJVM_DIZ) $(LIBJVM_G_DIZ); }
-   	     endif
- 	endif
+     endif
+     endif
+endif
 
 DEST_SUBDIR        = $(JDK_LIBDIR)/$(VM_SUBDIR)
 DEST_JVM           = $(DEST_SUBDIR)/$(LIBJVM)
diff -r b517477362d1 -r 69d9f2195369 src/cpu/sparc/vm/copy_sparc.hpp
--- a/src/cpu/sparc/vm/copy_sparc.hpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/cpu/sparc/vm/copy_sparc.hpp	Wed Aug 27 23:07:43 2014 +0100
@@ -184,7 +184,7 @@
   assert(MinObjAlignmentInBytes >= BytesPerLong, "need alternate implementation");
 
   if (value == 0 && UseBlockZeroing &&
-      (count > (BlockZeroingLowLimit >> LogHeapWordSize))) {
+      (count > (size_t)(BlockZeroingLowLimit >> LogHeapWordSize))) {
    // Call it only when block zeroing is used
    ((_zero_Fn)StubRoutines::zero_aligned_words())(tohw, count);
   } else {
diff -r b517477362d1 -r 69d9f2195369 src/cpu/sparc/vm/vm_version_sparc.hpp
--- a/src/cpu/sparc/vm/vm_version_sparc.hpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/cpu/sparc/vm/vm_version_sparc.hpp	Wed Aug 27 23:07:43 2014 +0100
@@ -48,7 +48,8 @@
     sparc64_family       = 14,
     M_family             = 15,
     T_family             = 16,
-    T1_model             = 17
+    T1_model             = 17,
+    sparc5_instructions  = 18
   };
 
   enum Feature_Flag_Set {
@@ -73,6 +74,7 @@
     M_family_m              = 1 << M_family,
     T_family_m              = 1 << T_family,
     T1_model_m              = 1 << T1_model,
+    sparc5_instructions_m   = 1 << sparc5_instructions,
 
     generic_v8_m        = v8_instructions_m | hardware_mul32_m | hardware_div32_m | hardware_fsmuld_m,
     generic_v9_m        = generic_v8_m | v9_instructions_m,
@@ -117,6 +119,7 @@
   static bool has_vis3()                { return (_features & vis3_instructions_m) != 0; }
   static bool has_blk_init()            { return (_features & blk_init_instructions_m) != 0; }
   static bool has_cbcond()              { return (_features & cbcond_instructions_m) != 0; }
+  static bool has_sparc5_instr()        { return (_features & sparc5_instructions_m) != 0; }
 
   static bool supports_compare_and_exchange()
                                         { return has_v9(); }
@@ -127,6 +130,7 @@
 
   static bool is_M_series()             { return is_M_family(_features); }
   static bool is_T4()                   { return is_T_family(_features) && has_cbcond(); }
+  static bool is_T7()                   { return is_T_family(_features) && has_sparc5_instr(); }
 
   // Fujitsu SPARC64
   static bool is_sparc64()              { return (_features & sparc64_family_m) != 0; }
@@ -146,7 +150,7 @@
   static const char* cpu_features()     { return _features_str; }
 
   static intx prefetch_data_size()  {
-    return is_T4() ? 32 : 64;  // default prefetch block size on sparc
+    return is_T4() && !is_T7() ? 32 : 64;  // default prefetch block size on sparc
   }
 
   // Prefetch
diff -r b517477362d1 -r 69d9f2195369 src/os/bsd/vm/os_bsd.cpp
--- a/src/os/bsd/vm/os_bsd.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os/bsd/vm/os_bsd.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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
@@ -1830,9 +1830,6 @@
   ::abort();
 }
 
-// unused on bsd for now.
-void os::set_error_file(const char *logfile) {}
-
 
 // This method is a copy of JDK's sysGetLastErrorString
 // from src/solaris/hpi/src/system_md.c
@@ -2596,6 +2593,7 @@
         // determine if this is a legacy image or modules image
         // modules image doesn't have "jre" subdirectory
         len = strlen(buf);
+        assert(len < buflen, "Ran out of buffer space");
         jrelib_p = buf + len;
 
         // Add the appropriate library subdir
@@ -2631,7 +2629,7 @@
     }
   }
 
-  strcpy(saved_jvm_path, buf);
+  strncpy(saved_jvm_path, buf, MAXPATHLEN);
 }
 
 void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
diff -r b517477362d1 -r 69d9f2195369 src/os/linux/vm/os_linux.cpp
--- a/src/os/linux/vm/os_linux.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os/linux/vm/os_linux.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2014, 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
@@ -1635,9 +1635,6 @@
   ::abort();
 }
 
-// unused on linux for now.
-void os::set_error_file(const char *logfile) {}
-
 
 // This method is a copy of JDK's sysGetLastErrorString
 // from src/solaris/hpi/src/system_md.c
@@ -2477,6 +2474,7 @@
         // determine if this is a legacy image or modules image
         // modules image doesn't have "jre" subdirectory
         len = strlen(buf);
+        assert(len < buflen, "Ran out of buffer room");
         jrelib_p = buf + len;
         snprintf(jrelib_p, buflen-len, "/jre/lib/%s", cpu_arch);
         if (0 != access(buf, F_OK)) {
@@ -2499,7 +2497,7 @@
     }
   }
 
-  strcpy(saved_jvm_path, buf);
+  strncpy(saved_jvm_path, buf, MAXPATHLEN);
 }
 
 void os::print_jni_name_prefix_on(outputStream* st, int args_size) {
diff -r b517477362d1 -r 69d9f2195369 src/os/solaris/vm/os_solaris.cpp
--- a/src/os/solaris/vm/os_solaris.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os/solaris/vm/os_solaris.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, 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
@@ -1877,9 +1877,6 @@
   ::abort(); // dump core (for debugging)
 }
 
-// unused
-void os::set_error_file(const char *logfile) {}
-
 // DLL functions
 
 const char* os::dll_file_extension() { return ".so"; }
@@ -2561,6 +2558,7 @@
         // determine if this is a legacy image or modules image
         // modules image doesn't have "jre" subdirectory
         len = strlen(buf);
+        assert(len < buflen, "Ran out of buffer space");
         jrelib_p = buf + len;
         snprintf(jrelib_p, buflen-len, "/jre/lib/%s", cpu_arch);
         if (0 != access(buf, F_OK)) {
@@ -2581,7 +2579,7 @@
     }
   }
 
-  strcpy(saved_jvm_path, buf);
+  strncpy(saved_jvm_path, buf, MAXPATHLEN);
 }
 
 
diff -r b517477362d1 -r 69d9f2195369 src/os/windows/vm/os_windows.cpp
--- a/src/os/windows/vm/os_windows.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os/windows/vm/os_windows.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -1773,27 +1773,28 @@
      // libjvm.so is installed there (append a fake suffix
      // hotspot/libjvm.so).
      char* java_home_var = ::getenv("JAVA_HOME");
-     if (java_home_var != NULL && java_home_var[0] != 0) {
-
-        strncpy(buf, java_home_var, buflen);
-
-        // determine if this is a legacy image or modules image
-        // modules image doesn't have "jre" subdirectory
-        size_t len = strlen(buf);
-        char* jrebin_p = buf + len;
-        jio_snprintf(jrebin_p, buflen-len, "\\jre\\bin\\");
-        if (0 != _access(buf, 0)) {
-          jio_snprintf(jrebin_p, buflen-len, "\\bin\\");
-        }
-        len = strlen(buf);
-        jio_snprintf(buf + len, buflen-len, "hotspot\\jvm.dll");
+     if (java_home_var != NULL && java_home_var[0] != 0 &&
+         strlen(java_home_var) < (size_t)buflen) {
+
+       strncpy(buf, java_home_var, buflen);
+
+       // determine if this is a legacy image or modules image
+       // modules image doesn't have "jre" subdirectory
+       size_t len = strlen(buf);
+       char* jrebin_p = buf + len;
+       jio_snprintf(jrebin_p, buflen-len, "\\jre\\bin\\");
+       if (0 != _access(buf, 0)) {
+         jio_snprintf(jrebin_p, buflen-len, "\\bin\\");
+       }
+       len = strlen(buf);
+       jio_snprintf(buf + len, buflen-len, "hotspot\\jvm.dll");
      }
   }
 
   if(buf[0] == '\0') {
-  GetModuleFileName(vm_lib_handle, buf, buflen);
-  }
-  strcpy(saved_jvm_path, buf);
+    GetModuleFileName(vm_lib_handle, buf, buflen);
+  }
+  strncpy(saved_jvm_path, buf, MAX_PATH);
 }
 
 
@@ -2218,17 +2219,6 @@
 #endif //_WIN64
 
 
-// Fatal error reporting is single threaded so we can make this a
-// static and preallocated.  If it's more than MAX_PATH silently ignore
-// it.
-static char saved_error_file[MAX_PATH] = {0};
-
-void os::set_error_file(const char *logfile) {
-  if (strlen(logfile) <= MAX_PATH) {
-    strncpy(saved_error_file, logfile, MAX_PATH);
-  }
-}
-
 static inline void report_error(Thread* t, DWORD exception_code,
                                 address addr, void* siginfo, void* context) {
   VMError err(t, exception_code, addr, siginfo, context);
diff -r b517477362d1 -r 69d9f2195369 src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
--- a/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -118,7 +118,7 @@
       *ret_sp = os::Linux::ucontext_get_sp(uc);
     }
     if (ret_fp) {
-      *ret_fp = os::Linux::ucontext_get_fp(uc);
+      *ret_fp = (intptr_t*)NULL;
     }
   } else {
     // construct empty ExtendedPC for return value checking
@@ -136,18 +136,15 @@
 
 frame os::fetch_frame_from_context(void* ucVoid) {
   intptr_t* sp;
-  intptr_t* fp;
-  ExtendedPC epc = fetch_frame_from_context(ucVoid, &sp, &fp);
-  return frame(sp, fp, epc.pc());
+  ExtendedPC epc = fetch_frame_from_context(ucVoid, &sp, NULL);
+  return frame(sp, frame::unpatchable, epc.pc());
 }
 
 frame os::get_sender_for_C_frame(frame* fr) {
-  return frame(fr->sender_sp(), fr->link(), fr->sender_pc());
+  return frame(fr->sender_sp(), frame::unpatchable, fr->sender_pc());
 }
 
 frame os::current_frame() {
-  fprintf(stderr, "current_frame()");
-
   intptr_t* sp = StubRoutines::Sparc::flush_callers_register_windows_func()();
   frame myframe(sp, frame::unpatchable,
                 CAST_FROM_FN_PTR(address, os::current_frame));
diff -r b517477362d1 -r 69d9f2195369 src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp
--- a/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -55,7 +55,7 @@
 
   if (detect_niagara()) {
     NOT_PRODUCT(if (PrintMiscellaneous && Verbose) tty->print_cr("Detected Linux on Niagara");)
-    features = niagara1_m;
+    features = niagara1_m | T_family_m;
   }
 
   return features;
diff -r b517477362d1 -r 69d9f2195369 src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp
--- a/src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/os_cpu/solaris_sparc/vm/vm_version_solaris_sparc.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -75,13 +75,19 @@
     do_sysinfo(SI_ARCHITECTURE_64, "sparcv9", &features, generic_v9_m);
 
     // Extract valid instruction set extensions.
-    uint_t av;
-    uint_t avn = os::Solaris::getisax(&av, 1);
-    assert(avn == 1, "should only return one av");
+    uint_t avs[2];
+    uint_t avn = os::Solaris::getisax(avs, 2);
+    assert(avn <= 2, "should return two or less av's");
+    uint_t av = avs[0];
 
 #ifndef PRODUCT
-    if (PrintMiscellaneous && Verbose)
-      tty->print_cr("getisax(2) returned: " PTR32_FORMAT, av);
+    if (PrintMiscellaneous && Verbose) {
+      tty->print("getisax(2) returned: " PTR32_FORMAT, av);
+      if (avn > 1) {
+        tty->print(", " PTR32_FORMAT, avs[1]);
+      }
+      tty->cr();
+    }
 #endif
 
     if (av & AV_SPARC_MUL32)  features |= hardware_mul32_m;
@@ -91,6 +97,13 @@
     if (av & AV_SPARC_POPC)   features |= hardware_popc_m;
     if (av & AV_SPARC_VIS)    features |= vis1_instructions_m;
     if (av & AV_SPARC_VIS2)   features |= vis2_instructions_m;
+    if (avn > 1) {
+      uint_t av2 = avs[1];
+#ifndef AV2_SPARC_SPARC5
+#define AV2_SPARC_SPARC5 0x00000008 /* The 29 new fp and sub instructions */
+#endif
+      if (av2 & AV2_SPARC_SPARC5)       features |= sparc5_instructions_m;
+    }
 
     // Next values are not defined before Solaris 10
     // but Solaris 8 is used for jdk6 update builds.
diff -r b517477362d1 -r 69d9f2195369 src/share/vm/ci/bcEscapeAnalyzer.cpp
--- a/src/share/vm/ci/bcEscapeAnalyzer.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/share/vm/ci/bcEscapeAnalyzer.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -158,6 +158,9 @@
 
 void BCEscapeAnalyzer::set_method_escape(ArgumentMap vars) {
   clear_bits(vars, _arg_local);
+  if (vars.contains_allocated()) {
+    _allocated_escapes = true;
+  }
 }
 
 void BCEscapeAnalyzer::set_global_escape(ArgumentMap vars, bool merge) {
diff -r b517477362d1 -r 69d9f2195369 src/share/vm/classfile/classFileParser.cpp
--- a/src/share/vm/classfile/classFileParser.cpp	Wed Aug 13 15:49:58 2014 +0100
+++ b/src/share/vm/classfile/classFileParser.cpp	Wed Aug 27 23:07:43 2014 +0100
@@ -961,7 +961,7 @@
             "Wrong size %u for field's Signature attribute in class file %s",
             attribute_length, CHECK);
         }
-        generic_signature_index = cfs->get_u2(CHECK);
+        generic_signature_index = parse_generic_signature_attribute(cp, CHECK);
       } else if (attribute_name == vmSymbols::tag_runtime_visible_annotations()) {
         runtime_visible_annotations_length = attribute_length;
         runtime_visible_annotations = cfs->get_u1_buffer();
@@ -1698,7 +1698,8 @@
 }
 
 // Sift through annotations, looking for those significant to the VM:
-void ClassFileParser::parse_annotations(u1* buffer, int limit,
+void ClassFileParser::parse_annotations(Handle class_loader,
+                                        u1* buffer, int limit,
                                         constantPoolHandle cp,
                                         ClassFileParser::AnnotationCollector* coll,
                                         TRAPS) {
@@ -1736,7 +1737,7 @@
     }
 
     // Here is where parsing particular annotations will take place.
-    AnnotationCollector::ID id = coll->annotation_index(aname);
+    AnnotationCollector::ID id = coll->annotation_index(class_loader, is_anonymous(), aname);
     if (id == AnnotationCollector::_unknown)  continue;
     coll->set_annotation(id);
     // If there are no values, just set the bit and move on:
@@ -1765,20 +1766,30 @@
   }
 }
 
-ClassFileParser::AnnotationCollector::ID ClassFileParser::AnnotationCollector::annotation_index(Symbol* name) {
+ClassFileParser::AnnotationCollector::ID ClassFileParser::AnnotationCollector::annotation_index(Handle class_loader,
+                                                                                                bool is_anonymous,
+                                                                                                Symbol* name) {
   vmSymbols::SID sid = vmSymbols::find_sid(name);
+  // Privileged code can use all annotations.  Other code silently drops some.
+  const bool privileged = class_loader.is_null() || is_anonymous ||
+                          class_loader()->klass()->klass_part()->name() ==
+                            vmSymbols::sun_misc_Launcher_ExtClassLoader();
   switch (sid) {
   case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_ForceInline_signature):
     if (_location != _in_method)  break;  // only allow for methods
+    if (!privileged)              break;  // only allow in privileged code
     return _method_ForceInline;
   case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_DontInline_signature):
     if (_location != _in_method)  break;  // only allow for methods
+    if (!privileged)              break;  // only allow in privileged code
     return _method_DontInline;
   case vmSymbols::VM_SYMBOL_ENUM_NAME(java_lang_invoke_LambdaForm_Compiled_signature):


More information about the distro-pkg-dev mailing list