Skip to content

Commit a525f5a

Browse files
authored
Merge pull request #465 from alibaba/wip_dragonwell_extended_squash_branch
Merge remote-tracking branch 'upstream/master' into dragonwell
2 parents fd931d2 + dacc193 commit a525f5a

File tree

204 files changed

+3637
-2977
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+3637
-2977
lines changed

.jcheck/conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[general]
22
project=jdk8u
33
jbs=JDK
4-
version=openjdk8u352
4+
version=openjdk8u362
55

66
[checks]
77
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace

common/autoconf/version-numbers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
JDK_MAJOR_VERSION=1
2727
JDK_MINOR_VERSION=8
2828
JDK_MICRO_VERSION=0
29-
JDK_UPDATE_VERSION=352
29+
JDK_UPDATE_VERSION=362
3030
LAUNCHER_NAME=openjdk
3131
PRODUCT_NAME=OpenJDK
3232
PRODUCT_SUFFIX="Runtime Environment"

corba/.jcheck/conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

corba/src/share/classes/com/sun/corba/se/impl/orbutil/ORBConstants.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ public static int makePersistent( int scid )
317317
public static final String DYNAMIC_STUB_FACTORY_FACTORY_CLASS =
318318
SUN_PREFIX + "ORBDynamicStubFactoryFactoryClass" ;
319319

320+
public static final String ALLOW_DESERIALIZE_OBJECT = SUN_PREFIX + "ORBAllowDeserializeObject" ;
321+
320322
// Constants for NameService properties ************************************
321323

322324
public static final int DEFAULT_INITIAL_PORT = 900;

corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,11 @@ protected void writeSerializationMethods ()
342342
stream.println (" private void readObject (java.io.ObjectInputStream s) throws java.io.IOException");
343343
stream.println (" {");
344344
stream.println (" String str = s.readUTF ();");
345+
if ("DynAnyFactory".equals (i.name ())) {
346+
stream.println (" if (!str.startsWith(com.sun.corba.se.impl.orbutil.ORBConstants.STRINGIFY_PREFIX) &&");
347+
stream.println (" !Boolean.getBoolean(com.sun.corba.se.impl.orbutil.ORBConstants.ALLOW_DESERIALIZE_OBJECT))");
348+
stream.println (" throw new java.io.InvalidObjectException(\"IOR: expected\");");
349+
}
345350
stream.println (" String[] args = null;");
346351
stream.println (" java.util.Properties props = null;");
347352
stream.println (" org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);");

hotspot/.jcheck/conf

Lines changed: 0 additions & 2 deletions
This file was deleted.

hotspot/src/os/windows/vm/os_windows.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,9 +1816,13 @@ void os::win32::print_windows_version(outputStream* st) {
18161816
}
18171817
break;
18181818

1819-
case 6004:
1819+
case 10000:
18201820
if (is_workstation) {
1821-
st->print("10");
1821+
if (build_number >= 22000) {
1822+
st->print("11");
1823+
} else {
1824+
st->print("10");
1825+
}
18221826
} else {
18231827
// distinguish Windows Server by build number
18241828
// - 2016 GA 10/2016 build: 14393

hotspot/src/os_cpu/aix_ppc/vm/os_aix_ppc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ JVM_handle_aix_signal(int sig, siginfo_t* info, void* ucVoid, int abort_if_unrec
214214
// SafeFetch 32 handling:
215215
// - make it work if _thread is null
216216
// - make it use the standard os::...::ucontext_get/set_pc APIs
217-
if (uc) {
217+
if ((sig == SIGSEGV || sig == SIGBUS) && uc) {
218218
address const pc = os::Aix::ucontext_get_pc(uc);
219219
if (pc && StubRoutines::is_safefetch_fault(pc)) {
220220
os::Aix::ucontext_set_pc(uc, StubRoutines::continuation_for_safefetch_fault(pc));

hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,13 @@ JVM_handle_bsd_signal(int sig,
462462
if (info != NULL && uc != NULL && thread != NULL) {
463463
pc = (address) os::Bsd::ucontext_get_pc(uc);
464464

465-
if (StubRoutines::is_safefetch_fault(pc)) {
466-
uc->context_pc = intptr_t(StubRoutines::continuation_for_safefetch_fault(pc));
467-
return 1;
468-
}
469-
470-
// Handle ALL stack overflow variations here
471465
if (sig == SIGSEGV || sig == SIGBUS) {
466+
if (StubRoutines::is_safefetch_fault(pc)) {
467+
uc->context_pc = intptr_t(StubRoutines::continuation_for_safefetch_fault(pc));
468+
return 1;
469+
}
470+
471+
// Handle ALL stack overflow variations here
472472
address addr = (address) info->si_addr;
473473

474474
// check if fault address is within thread stack

hotspot/src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ JVM_handle_linux_signal(int sig,
251251
if (info != NULL && uc != NULL && thread != NULL) {
252252
pc = (address) os::Linux::ucontext_get_pc(uc);
253253

254-
if (StubRoutines::is_safefetch_fault(pc)) {
254+
if ((sig == SIGSEGV || sig == SIGBUS) && StubRoutines::is_safefetch_fault(pc)) {
255255
uc->uc_mcontext.pc = intptr_t(StubRoutines::continuation_for_safefetch_fault(pc));
256256
return 1;
257257
}

0 commit comments

Comments
 (0)