Mercurial > hg > release > icedtea7-forest-2.6 > hotspot
changeset 6776:b2a8ec2a9deb
Merge jdk7u271-ga
author | Andrew John Hughes <gnu.andrew@redhat.com> |
---|---|
date | Thu, 03 Sep 2020 04:06:33 +0100 |
parents | 78fdf77eb50f (current diff) 24ee75d148b3 (diff) |
children | 2c74ba717122 |
files | .hgtags src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp src/share/vm/prims/jvm.h src/share/vm/runtime/vm_version.cpp |
diffstat | 6 files changed, 101 insertions(+), 62 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Sat Apr 18 19:25:55 2020 +0100 +++ b/.hgtags Thu Sep 03 04:06:33 2020 +0100 @@ -965,3 +965,7 @@ 13031adeeef59af37f7a87aa8d376d62902233d2 icedtea-2.6.22 13031adeeef59af37f7a87aa8d376d62902233d2 icedtea-2.6.23pre00 d89441a9ce987745a0342b69213758f0fe109976 icedtea-2.6.22pre00 +493615a206a94e11c9ff09d58d1733758556ac95 jdk7u261-ga +493615a206a94e11c9ff09d58d1733758556ac95 jdk7u271-b00 +debb2913070604f611eaf916cbc90f024d17ef24 jdk7u271-b01 +debb2913070604f611eaf916cbc90f024d17ef24 jdk7u271-ga
--- a/THIRD_PARTY_README Sat Apr 18 19:25:55 2020 +0100 +++ b/THIRD_PARTY_README Thu Sep 03 04:06:33 2020 +0100 @@ -1001,67 +1001,97 @@ ------------------------------------------------------------------------------- -%% This notice is provided with respect to libpng 1.6.16, which is +%% This notice is provided with respect to libpng 1.6.37, which may be included with JRE 7, JDK 7, and OpenJDK 7. --- begin of LICENSE --- -This copy of the libpng notices is provided for your convenience. In case of -any discrepancy between this copy and the notices in the file png.h that is -included in the libpng distribution, the latter shall prevail. - -COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: - -If you modify libpng you may insert additional notices immediately following -this sentence. - -This code is released under the libpng license. - -libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, are -Copyright (c) 2004, 2006-2011 Glenn Randers-Pehrson, and are +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE +========================================= + +PNG Reference Library License version 2 +--------------------------------------- + + * Copyright (c) 1995-2019 The PNG Reference Library Authors. + * Copyright (c) 2018-2019 Cosmin Truta. + * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. + * Copyright (c) 1996-1997 Andreas Dilger. + * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + +PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) +----------------------------------------------------------------------- + +libpng versions 1.2.6, August 15, 2004, through 1.6.35, July 15, 2018 are +Copyright (c) 2004, 2006-2018 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.2.5 with the following individual added to the list of Contributing Authors - Cosmin Truta + Cosmin Truta libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-1.0.6 with the following individuals added to the list of Contributing Authors - Simon-Pierre Cadieux - Eric S. Raymond - Gilles Vollant + Simon-Pierre Cadieux + Eric S. Raymond + Gilles Vollant and with the following additions to the disclaimer: - There is no warranty against interference with your enjoyment of the - library or against infringement. There is no warranty that our - efforts or the library will fulfill any of your particular purposes - or needs. This library is provided with all faults, and the entire - risk of satisfactory quality, performance, accuracy, and effort is with - the user. + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are distributed according to the same disclaimer and license as libpng-0.96, with the following individuals added to the list of Contributing Authors: - Tom Lane - Glenn Randers-Pehrson - Willem van Schaik + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik libpng versions 0.89, June 1996, through 0.96, May 1997, are Copyright (c) 1996, 1997 Andreas Dilger Distributed according to the same disclaimer and license as libpng-0.88, with the following individuals added to the list of Contributing Authors: - John Bowler - Kevin Bracey - Sam Bushell - Magnus Holmgren - Greg Roelofs - Tom Tanner + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner libpng versions 0.5, May 1995, through 0.88, January 1996, are Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. @@ -1069,19 +1099,20 @@ For the purposes of this copyright and license, "Contributing Authors" is defined as the following set of individuals: - Andreas Dilger - Dave Martindale - Guy Eric Schalnat - Paul Schmidt - Tim Wegner - -The PNG Reference Library is supplied "AS IS". The Contributing Authors -and Group 42, Inc. disclaim all warranties, expressed or implied, -including, without limitation, the warranties of merchantability and of -fitness for any purpose. The Contributing Authors and Group 42, Inc. -assume no liability for direct, indirect, incidental, special, exemplary, -or consequential damages, which may result from the use of the PNG -Reference Library, even if advised of the possibility of such damage. + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. Permission is hereby granted to use, copy, modify, and distribute this source code, or portions hereof, for any purpose, without fee, subject @@ -1121,7 +1152,7 @@ ------------------------------------------------------------------------------- -%% This notice is provided with respect to libungif 4.1.3, which is +%% This notice is provided with respect to GIFLIB 5.2.1 & libungif 4.1.3, which is included with JRE 7, JDK 7, and OpenJDK 7. --- begin of LICENSE ---
--- a/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Sat Apr 18 19:25:55 2020 +0100 +++ b/src/share/vm/gc_implementation/g1/heapRegionRemSet.cpp Thu Sep 03 04:06:33 2020 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2016, 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 @@ -116,7 +116,9 @@ public: - HeapRegion* hr() const { return _hr; } + HeapRegion* hr() const { + return (HeapRegion*) OrderAccess::load_ptr_acquire(&_hr); + } jint occupied() const { // Overkill, but if we ever need it... @@ -129,10 +131,12 @@ set_next(NULL); set_prev(NULL); } - _hr = hr; _collision_list_next = NULL; _occupied = 0; _bm.clear(); + // Make sure that the bitmap clearing above has been finished before publishing + // this PRT to concurrent threads. + OrderAccess::release_store_ptr(&_hr, hr); } void add_reference(OopOrNarrowOopStar from) { @@ -416,7 +420,7 @@ if (G1TraceHeapRegionRememberedSet) { gclog_or_tty->print_cr(" from-card cache hit."); } - assert(contains_reference(from), "We just added it!"); + assert(contains_reference(from), err_msg("We just found " PTR_FORMAT " in the FromCardCache", from)); return; } else { _from_card_cache[tid][cur_hrs_ind] = from_card; @@ -431,7 +435,7 @@ if (G1TraceHeapRegionRememberedSet) { gclog_or_tty->print_cr(" coarse map hit."); } - assert(contains_reference(from), "We just added it!"); + assert(contains_reference(from), err_msg("We just found " PTR_FORMAT " in the Coarse table", from)); return; } @@ -465,7 +469,7 @@ if (G1TraceHeapRegionRememberedSet) { gclog_or_tty->print_cr(" added card to sparse table."); } - assert(contains_reference_locked(from), "We just added it!"); + assert(contains_reference_locked(from), err_msg("We just added " PTR_FORMAT " to the Sparse table", from)); return; } else { if (G1TraceHeapRegionRememberedSet) { @@ -524,7 +528,7 @@ hr()->bottom(), from); } } - assert(contains_reference(from), "We just added it!"); + assert(contains_reference(from), err_msg("We just added " PTR_FORMAT " to the PRT", from)); } PerRegionTable*
--- a/src/share/vm/prims/jvm.h Sat Apr 18 19:25:55 2020 +0100 +++ b/src/share/vm/prims/jvm.h Thu Sep 03 04:06:33 2020 +0100 @@ -1582,9 +1582,9 @@ } jvm_version_info; #define JVM_VERSION_MAJOR(version) ((version & 0xFF000000) >> 24) -#define JVM_VERSION_MINOR(version) ((version & 0x00FF0000) >> 16) +#define JVM_VERSION_MINOR(version) ((version & 0x00FFFF00) >> 8) // Micro version is 0 in HotSpot Express VM (set in jvm.cpp). -#define JVM_VERSION_MICRO(version) ((version & 0x0000FF00) >> 8) +#define JVM_VERSION_MICRO(version) 0 /* Build number is available in all HotSpot Express VM builds. * It is defined in make/hotspot_version file. */ @@ -1597,9 +1597,9 @@ // Naming convention of RE build version string: n.n.n[_uu[c]][-<identifier>]-bxx unsigned int jdk_version; /* Consists of major, minor, micro (n.n.n) */ /* and build number (xx) */ - unsigned int update_version : 8; /* Update release version (uu) */ + unsigned int update_version : 16; /* Update release version (uu) */ unsigned int special_update_version : 8; /* Special update release version (c)*/ - unsigned int reserved1 : 16; + unsigned int reserved1 : 8; unsigned int reserved2; /* The following bits represents new JDK supports that VM has dependency on.
--- a/src/share/vm/runtime/java.hpp Sat Apr 18 19:25:55 2020 +0100 +++ b/src/share/vm/runtime/java.hpp Thu Sep 03 04:06:33 2020 +0100 @@ -85,7 +85,7 @@ uint8_t _major; uint8_t _minor; uint8_t _micro; - uint8_t _update; + uint16_t _update; uint8_t _special; uint8_t _build; @@ -121,7 +121,7 @@ _pending_list_uses_discovered_field(false) {} JDK_Version(uint8_t major, uint8_t minor = 0, uint8_t micro = 0, - uint8_t update = 0, uint8_t special = 0, uint8_t build = 0, + uint16_t update = 0, uint8_t special = 0, uint8_t build = 0, bool thread_park_blocker = false, bool post_vm_init_hook_enabled = false, bool pending_list_uses_discovered_field = false) : _major(major), _minor(minor), _micro(micro), _update(update), @@ -145,7 +145,7 @@ uint8_t major_version() const { return _major; } uint8_t minor_version() const { return _minor; } uint8_t micro_version() const { return _micro; } - uint8_t update_version() const { return _update; } + uint16_t update_version() const { return _update; } uint8_t special_update_version() const { return _special; } uint8_t build_number() const { return _build; }
--- a/src/share/vm/runtime/vm_version.cpp Sat Apr 18 19:25:55 2020 +0100 +++ b/src/share/vm/runtime/vm_version.cpp Thu Sep 03 04:06:33 2020 +0100 @@ -271,7 +271,7 @@ unsigned int Abstract_VM_Version::jvm_version() { return ((Abstract_VM_Version::vm_major_version() & 0xFF) << 24) | - ((Abstract_VM_Version::vm_minor_version() & 0xFF) << 16) | + ((Abstract_VM_Version::vm_minor_version() & 0xFFFF) << 8) | (Abstract_VM_Version::vm_build_number() & 0xFF); }