mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-19 07:29:08 +00:00
Merge
This commit is contained in:
commit
3b1ccee969
1
.hgtags
1
.hgtags
@ -199,3 +199,4 @@ f627eff819628822a0777af8062244352f2a29cf jdk8-b74
|
||||
f1478a6d25fddd311a84dcbfac50824cc1858bdd jdk8-b75
|
||||
f407160c280d1c5b00d314c535441ac26f195fee jdk8-b76
|
||||
d17eb2e13e362085e866d46235314c50cc4661cc jdk8-b77
|
||||
6d3dcd34b5b962ea1ef9eed0dafdee9e812401bc jdk8-b78
|
||||
|
||||
@ -199,3 +199,4 @@ b43aa5bd8ca5c8121336495382d35ecfa7a71536 jdk8-b74
|
||||
2a713921952cbd77a1e699626976cb6cdfe3e57e jdk8-b75
|
||||
278af9fc67e7eba2884936b49ec07345f423aabb jdk8-b76
|
||||
3933eebc659d58c597aa8cb4b3e58f2250ce3e1a jdk8-b77
|
||||
fd1a5574cf68af24bfd52decc37ac6361afb278a jdk8-b78
|
||||
|
||||
@ -199,3 +199,4 @@ cb40427f47145b01b7e53c3e02b38ff7625efbda jdk8-b72
|
||||
d4e68ce17795601017ac2f952baad7272942c36e jdk8-b75
|
||||
58be6ca3c0603882a1ec478724e337aac85e0da0 jdk8-b76
|
||||
35684a40c5845782324dbcc9ac8969528020ff61 jdk8-b77
|
||||
27d6368ae8ba570c31c2f0e696d39c99fa2f4538 jdk8-b78
|
||||
|
||||
@ -316,3 +316,5 @@ b4391649e91ea8d37f66317a03d6d2573a93d10d hs25-b17
|
||||
412d722168bc23f8e6d98995202728678561417f hs25-b18
|
||||
cdb46031e7184d37301288f5719121a63c7054b5 jdk8-b77
|
||||
9f19f4a7d48a4ebe7f616b6068971ea5f8b075fa hs25-b19
|
||||
d5e12e7d2f719144d84903d9151455661c47b476 jdk8-b78
|
||||
555ec35a250783110aa070dbc8a8603f6cabe41f hs25-b20
|
||||
|
||||
@ -38,6 +38,8 @@
|
||||
#import <dlfcn.h>
|
||||
#import <limits.h>
|
||||
#import <errno.h>
|
||||
#import <sys/types.h>
|
||||
#import <sys/ptrace.h>
|
||||
|
||||
jboolean debug = JNI_FALSE;
|
||||
|
||||
@ -430,6 +432,73 @@ Java_sun_jvm_hotspot_debugger_macosx_MacOSXDebuggerLocal_translateTID0(
|
||||
return (jint) usable_tid;
|
||||
}
|
||||
|
||||
|
||||
static bool ptrace_continue(pid_t pid, int signal) {
|
||||
// pass the signal to the process so we don't swallow it
|
||||
int res;
|
||||
if ((res = ptrace(PT_CONTINUE, pid, (caddr_t)1, signal)) < 0) {
|
||||
fprintf(stderr, "attach: ptrace(PT_CONTINUE, %d) failed with %d\n", pid, res);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// waits until the ATTACH has stopped the process
|
||||
// by signal SIGSTOP
|
||||
static bool ptrace_waitpid(pid_t pid) {
|
||||
int ret;
|
||||
int status;
|
||||
while (true) {
|
||||
// Wait for debuggee to stop.
|
||||
ret = waitpid(pid, &status, 0);
|
||||
if (ret >= 0) {
|
||||
if (WIFSTOPPED(status)) {
|
||||
// Any signal will stop the thread, make sure it is SIGSTOP. Otherwise SIGSTOP
|
||||
// will still be pending and delivered when the process is DETACHED and the process
|
||||
// will go to sleep.
|
||||
if (WSTOPSIG(status) == SIGSTOP) {
|
||||
// Debuggee stopped by SIGSTOP.
|
||||
return true;
|
||||
}
|
||||
if (!ptrace_continue(pid, WSTOPSIG(status))) {
|
||||
fprintf(stderr, "attach: Failed to correctly attach to VM. VM might HANG! [PTRACE_CONT failed, stopped by %d]\n", WSTOPSIG(status));
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "attach: waitpid(): Child process exited/terminated (status = 0x%x)\n", status);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
switch (errno) {
|
||||
case EINTR:
|
||||
continue;
|
||||
break;
|
||||
case ECHILD:
|
||||
fprintf(stderr, "attach: waitpid() failed. Child process pid (%d) does not exist \n", pid);
|
||||
break;
|
||||
case EINVAL:
|
||||
fprintf(stderr, "attach: waitpid() failed. Invalid options argument.\n");
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "attach: waitpid() failed. Unexpected error %d\n",errno);
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// attach to a process/thread specified by "pid"
|
||||
static bool ptrace_attach(pid_t pid) {
|
||||
int res;
|
||||
if ((res = ptrace(PT_ATTACH, pid, 0, 0)) < 0) {
|
||||
fprintf(stderr, "ptrace(PT_ATTACH, %d) failed with %d\n", pid, res);
|
||||
return false;
|
||||
} else {
|
||||
return ptrace_waitpid(pid);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Class: sun_jvm_hotspot_debugger_bsd_BsdDebuggerLocal
|
||||
* Method: attach0
|
||||
@ -445,7 +514,8 @@ JNF_COCOA_ENTER(env);
|
||||
else
|
||||
debug = JNI_FALSE;
|
||||
if (debug) printf("attach0 called for jpid=%d\n", (int)jpid);
|
||||
|
||||
|
||||
// get the task from the pid
|
||||
kern_return_t result;
|
||||
task_t gTask = 0;
|
||||
result = task_for_pid(mach_task_self(), jpid, &gTask);
|
||||
@ -455,6 +525,13 @@ JNF_COCOA_ENTER(env);
|
||||
}
|
||||
putTask(env, this_obj, gTask);
|
||||
|
||||
// use ptrace to stop the process
|
||||
// on os x, ptrace only needs to be called on the process, not the individual threads
|
||||
if (ptrace_attach(jpid) != true) {
|
||||
mach_port_deallocate(mach_task_self(), gTask);
|
||||
THROW_NEW_DEBUGGER_EXCEPTION("Can't attach to the process");
|
||||
}
|
||||
|
||||
id symbolicator = nil;
|
||||
id jrsSymbolicator = objc_lookUpClass("JRSSymbolicator");
|
||||
if (jrsSymbolicator != nil) {
|
||||
@ -486,6 +563,21 @@ JNF_COCOA_ENTER(env);
|
||||
if (debug) printf("detach0 called\n");
|
||||
|
||||
task_t gTask = getTask(env, this_obj);
|
||||
|
||||
// detach from the ptraced process causing it to resume execution
|
||||
int pid;
|
||||
kern_return_t k_res;
|
||||
k_res = pid_for_task(gTask, &pid);
|
||||
if (k_res != KERN_SUCCESS) {
|
||||
fprintf(stderr, "detach: pid_for_task(%d) failed (%d)\n", pid, k_res);
|
||||
}
|
||||
else {
|
||||
int res = ptrace(PT_DETACH, pid, 0, 0);
|
||||
if (res < 0) {
|
||||
fprintf(stderr, "detach: ptrace(PT_DETACH, %d) failed (%d)\n", pid, res);
|
||||
}
|
||||
}
|
||||
|
||||
mach_port_deallocate(mach_task_self(), gTask);
|
||||
id symbolicator = getSymbolicator(env, this_obj);
|
||||
if (symbolicator != nil) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
@ -91,6 +91,14 @@ void print_debug(const char* format,...) {
|
||||
}
|
||||
}
|
||||
|
||||
void print_error(const char* format,...) {
|
||||
va_list alist;
|
||||
va_start(alist, format);
|
||||
fputs("ERROR: ", stderr);
|
||||
vfprintf(stderr, format, alist);
|
||||
va_end(alist);
|
||||
}
|
||||
|
||||
bool is_debug() {
|
||||
return _libsaproc_debug;
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
@ -107,6 +107,7 @@ struct ps_prochandle {
|
||||
int pathmap_open(const char* name);
|
||||
|
||||
void print_debug(const char* format,...);
|
||||
void print_error(const char* format,...);
|
||||
bool is_debug();
|
||||
|
||||
typedef bool (*thread_info_callback)(struct ps_prochandle* ph, pthread_t pid, lwpid_t lwpid);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
@ -129,42 +129,66 @@ static bool process_get_lwp_info(struct ps_prochandle *ph, lwpid_t lwp_id, void
|
||||
return (errno == 0)? true: false;
|
||||
}
|
||||
|
||||
static bool ptrace_continue(pid_t pid, int signal) {
|
||||
// pass the signal to the process so we don't swallow it
|
||||
if (ptrace(PTRACE_CONT, pid, NULL, signal) < 0) {
|
||||
print_debug("ptrace(PTRACE_CONT, ..) failed for %d\n", pid);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// waits until the ATTACH has stopped the process
|
||||
// by signal SIGSTOP
|
||||
static bool ptrace_waitpid(pid_t pid) {
|
||||
int ret;
|
||||
int status;
|
||||
do {
|
||||
// Wait for debuggee to stop.
|
||||
ret = waitpid(pid, &status, 0);
|
||||
if (ret >= 0) {
|
||||
if (WIFSTOPPED(status)) {
|
||||
// Any signal will stop the thread, make sure it is SIGSTOP. Otherwise SIGSTOP
|
||||
// will still be pending and delivered when the process is DETACHED and the process
|
||||
// will go to sleep.
|
||||
if (WSTOPSIG(status) == SIGSTOP) {
|
||||
// Debuggee stopped by SIGSTOP.
|
||||
return true;
|
||||
}
|
||||
if (!ptrace_continue(pid, WSTOPSIG(status))) {
|
||||
print_error("Failed to correctly attach to VM. VM might HANG! [PTRACE_CONT failed, stopped by %d]\n", WSTOPSIG(status));
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
print_debug("waitpid(): Child process exited/terminated (status = 0x%x)\n", status);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
switch (errno) {
|
||||
case EINTR:
|
||||
continue;
|
||||
break;
|
||||
case ECHILD:
|
||||
print_debug("waitpid() failed. Child process pid (%d) does not exist \n", pid);
|
||||
break;
|
||||
case EINVAL:
|
||||
print_debug("waitpid() failed. Invalid options argument.\n");
|
||||
break;
|
||||
default:
|
||||
print_debug("waitpid() failed. Unexpected error %d\n",errno);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} while(true);
|
||||
}
|
||||
|
||||
// attach to a process/thread specified by "pid"
|
||||
static bool ptrace_attach(pid_t pid) {
|
||||
if (ptrace(PT_ATTACH, pid, NULL, 0) < 0) {
|
||||
print_debug("ptrace(PTRACE_ATTACH, ..) failed for %d\n", pid);
|
||||
return false;
|
||||
} else {
|
||||
int ret;
|
||||
int status;
|
||||
do {
|
||||
// Wait for debuggee to stop.
|
||||
ret = waitpid(pid, &status, 0);
|
||||
if (ret >= 0) {
|
||||
if (WIFSTOPPED(status)) {
|
||||
// Debuggee stopped.
|
||||
return true;
|
||||
} else {
|
||||
print_debug("waitpid(): Child process exited/terminated (status = 0x%x)\n", status);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
switch (errno) {
|
||||
case EINTR:
|
||||
continue;
|
||||
break;
|
||||
case ECHILD:
|
||||
print_debug("waitpid() failed. Child process pid (%d) does not exist \n", pid);
|
||||
break;
|
||||
case EINVAL:
|
||||
print_debug("waitpid() failed. Invalid options argument.\n");
|
||||
break;
|
||||
default:
|
||||
print_debug("waitpid() failed. Unexpected error %d\n",errno);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} while(true);
|
||||
return ptrace_waitpid(pid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
@ -92,6 +92,14 @@ void print_debug(const char* format,...) {
|
||||
}
|
||||
}
|
||||
|
||||
void print_error(const char* format,...) {
|
||||
va_list alist;
|
||||
va_start(alist, format);
|
||||
fputs("ERROR: ", stderr);
|
||||
vfprintf(stderr, format, alist);
|
||||
va_end(alist);
|
||||
}
|
||||
|
||||
bool is_debug() {
|
||||
return _libsaproc_debug;
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
@ -105,6 +105,7 @@ struct ps_prochandle {
|
||||
int pathmap_open(const char* name);
|
||||
|
||||
void print_debug(const char* format,...);
|
||||
void print_error(const char* format,...);
|
||||
bool is_debug();
|
||||
|
||||
typedef bool (*thread_info_callback)(struct ps_prochandle* ph, pthread_t pid, lwpid_t lwpid);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, 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
|
||||
@ -25,6 +25,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <sys/ptrace.h>
|
||||
#include "libproc_impl.h"
|
||||
@ -142,46 +143,71 @@ static bool process_get_lwp_regs(struct ps_prochandle* ph, pid_t pid, struct use
|
||||
|
||||
}
|
||||
|
||||
static bool ptrace_continue(pid_t pid, int signal) {
|
||||
// pass the signal to the process so we don't swallow it
|
||||
if (ptrace(PTRACE_CONT, pid, NULL, signal) < 0) {
|
||||
print_debug("ptrace(PTRACE_CONT, ..) failed for %d\n", pid);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// waits until the ATTACH has stopped the process
|
||||
// by signal SIGSTOP
|
||||
static bool ptrace_waitpid(pid_t pid) {
|
||||
int ret;
|
||||
int status;
|
||||
while (true) {
|
||||
// Wait for debuggee to stop.
|
||||
ret = waitpid(pid, &status, 0);
|
||||
if (ret == -1 && errno == ECHILD) {
|
||||
// try cloned process.
|
||||
ret = waitpid(pid, &status, __WALL);
|
||||
}
|
||||
if (ret >= 0) {
|
||||
if (WIFSTOPPED(status)) {
|
||||
// Any signal will stop the thread, make sure it is SIGSTOP. Otherwise SIGSTOP
|
||||
// will still be pending and delivered when the process is DETACHED and the process
|
||||
// will go to sleep.
|
||||
if (WSTOPSIG(status) == SIGSTOP) {
|
||||
// Debuggee stopped by SIGSTOP.
|
||||
return true;
|
||||
}
|
||||
if (!ptrace_continue(pid, WSTOPSIG(status))) {
|
||||
print_error("Failed to correctly attach to VM. VM might HANG! [PTRACE_CONT failed, stopped by %d]\n", WSTOPSIG(status));
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
print_debug("waitpid(): Child process exited/terminated (status = 0x%x)\n", status);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
switch (errno) {
|
||||
case EINTR:
|
||||
continue;
|
||||
break;
|
||||
case ECHILD:
|
||||
print_debug("waitpid() failed. Child process pid (%d) does not exist \n", pid);
|
||||
break;
|
||||
case EINVAL:
|
||||
print_debug("waitpid() failed. Invalid options argument.\n");
|
||||
break;
|
||||
default:
|
||||
print_debug("waitpid() failed. Unexpected error %d\n",errno);
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// attach to a process/thread specified by "pid"
|
||||
static bool ptrace_attach(pid_t pid) {
|
||||
if (ptrace(PTRACE_ATTACH, pid, NULL, NULL) < 0) {
|
||||
print_debug("ptrace(PTRACE_ATTACH, ..) failed for %d\n", pid);
|
||||
return false;
|
||||
} else {
|
||||
int ret;
|
||||
int status;
|
||||
do {
|
||||
// Wait for debuggee to stop.
|
||||
ret = waitpid(pid, &status, 0);
|
||||
if (ret == -1 && errno == ECHILD) {
|
||||
// try cloned process.
|
||||
ret = waitpid(pid, &status, __WALL);
|
||||
}
|
||||
if (ret >= 0) {
|
||||
if (WIFSTOPPED(status)) {
|
||||
// Debuggee stopped.
|
||||
return true;
|
||||
} else {
|
||||
print_debug("waitpid(): Child process exited/terminated (status = 0x%x)\n", status);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
switch (errno) {
|
||||
case EINTR:
|
||||
continue;
|
||||
break;
|
||||
case ECHILD:
|
||||
print_debug("waitpid() failed. Child process pid (%d) does not exist \n", pid);
|
||||
break;
|
||||
case EINVAL:
|
||||
print_debug("waitpid() failed. Invalid options argument.\n");
|
||||
break;
|
||||
default:
|
||||
print_debug("waitpid() failed. Unexpected error %d\n",errno);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
} while(true);
|
||||
return ptrace_waitpid(pid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -61,15 +61,13 @@ public class CMSCollector extends VMObject {
|
||||
CMSBitMap markBitMap = markBitMap();
|
||||
long addressSize = VM.getVM().getAddressSize();
|
||||
if ( markBitMap.isMarked(addr) && markBitMap.isMarked(addr.addOffsetTo(1*addressSize)) ) {
|
||||
System.err.println("Printezis bits are set...");
|
||||
Address nextOneAddr = markBitMap.getNextMarkedWordAddress(addr.addOffsetTo(2*addressSize));
|
||||
//return size in bytes
|
||||
long size = (nextOneAddr.addOffsetTo(1*addressSize)).minus(addr);
|
||||
return size;
|
||||
} else {
|
||||
//missing Printezis marks
|
||||
System.err.println("Missing Printszis marks...");
|
||||
return -1;
|
||||
//missing Printezis marks
|
||||
return -1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -191,7 +191,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
|
||||
//Find the object size using Printezis bits and skip over
|
||||
long size = collector().blockSizeUsingPrintezisBits(cur);
|
||||
if (size == -1) {
|
||||
System.err.println("Printezis bits not set...");
|
||||
break;
|
||||
}
|
||||
cur = cur.addOffsetTo(adjustObjectSizeInBytes(size));
|
||||
|
||||
@ -184,7 +184,6 @@ public class MethodData extends Metadata {
|
||||
if (trapReasonName[index] == null) {
|
||||
throw new InternalError("missing reason for " + index);
|
||||
}
|
||||
System.out.println(trapReasonName[index]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -335,7 +335,6 @@ public class ObjectHeap {
|
||||
}
|
||||
if (obj == null) {
|
||||
//Find the object size using Printezis bits and skip over
|
||||
System.err.println("Finding object size using Printezis bits and skipping over...");
|
||||
long size = 0;
|
||||
|
||||
if ( (cmsSpaceOld != null) && cmsSpaceOld.contains(handle) ){
|
||||
|
||||
@ -90,10 +90,6 @@ public class VM {
|
||||
/** Flags indicating whether we are attached to a core, C1, or C2 build */
|
||||
private boolean usingClientCompiler;
|
||||
private boolean usingServerCompiler;
|
||||
/** Flag indicating whether UseTLAB is turned on */
|
||||
private boolean useTLAB;
|
||||
/** Flag indicating whether invokedynamic support is on */
|
||||
private boolean enableInvokeDynamic;
|
||||
/** alignment constants */
|
||||
private boolean isLP64;
|
||||
private int bytesPerLong;
|
||||
@ -326,9 +322,6 @@ public class VM {
|
||||
}
|
||||
}
|
||||
|
||||
useTLAB = (db.lookupIntConstant("UseTLAB").intValue() != 0);
|
||||
enableInvokeDynamic = (db.lookupIntConstant("EnableInvokeDynamic").intValue() != 0);
|
||||
|
||||
if (debugger != null) {
|
||||
isLP64 = debugger.getMachineDescription().isLP64();
|
||||
}
|
||||
@ -579,15 +572,6 @@ public class VM {
|
||||
}
|
||||
}
|
||||
|
||||
/** Indicates whether Thread-Local Allocation Buffers are used */
|
||||
public boolean getUseTLAB() {
|
||||
return useTLAB;
|
||||
}
|
||||
|
||||
public boolean getEnableInvokeDynamic() {
|
||||
return enableInvokeDynamic;
|
||||
}
|
||||
|
||||
public TypeDataBase getTypeDataBase() {
|
||||
return db;
|
||||
}
|
||||
@ -822,6 +806,12 @@ public class VM {
|
||||
return objectAlignmentInBytes;
|
||||
}
|
||||
|
||||
/** Indicates whether Thread-Local Allocation Buffers are used */
|
||||
public boolean getUseTLAB() {
|
||||
Flag flag = getCommandLineFlag("UseTLAB");
|
||||
return (flag == null) ? false: flag.getBool();
|
||||
}
|
||||
|
||||
// returns null, if not available.
|
||||
public Flag[] getCommandLineFlags() {
|
||||
if (commandLineFlags == null) {
|
||||
|
||||
@ -94,7 +94,12 @@ CXXFLAGS = \
|
||||
# This is VERY important! The version define must only be supplied to vm_version.o
|
||||
# If not, ccache will not re-use the cache at all, since the version string might contain
|
||||
# a time and date.
|
||||
vm_version.o: CXXFLAGS += ${JRE_VERSION}
|
||||
CXXFLAGS/vm_version.o += ${JRE_VERSION}
|
||||
|
||||
CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
|
||||
|
||||
# File specific flags
|
||||
CXXFLAGS += $(CXXFLAGS/BYFILE)
|
||||
|
||||
ifdef DEFAULT_LIBPATH
|
||||
CXXFLAGS += -DDEFAULT_LIBPATH="\"$(DEFAULT_LIBPATH)\""
|
||||
|
||||
@ -78,7 +78,7 @@ ifeq ($(INCLUDE_ALL_GCS), false)
|
||||
|
||||
Src_Files_EXCLUDE += \
|
||||
cmsAdaptiveSizePolicy.cpp cmsCollectorPolicy.cpp \
|
||||
cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp cmsPermGen.cpp compactibleFreeListSpace.cpp \
|
||||
cmsGCAdaptivePolicyCounters.cpp cmsLockVerifier.cpp compactibleFreeListSpace.cpp \
|
||||
concurrentMarkSweepGeneration.cpp concurrentMarkSweepThread.cpp \
|
||||
freeChunk.cpp adaptiveFreeList.cpp promotionInfo.cpp vmCMSOperations.cpp collectionSetChooser.cpp \
|
||||
concurrentG1Refine.cpp concurrentG1RefineThread.cpp concurrentMark.cpp concurrentMarkThread.cpp \
|
||||
@ -91,11 +91,11 @@ ifeq ($(INCLUDE_ALL_GCS), false)
|
||||
gcTaskManager.cpp gcTaskThread.cpp objectStartArray.cpp parallelScavengeHeap.cpp parMarkBitMap.cpp \
|
||||
pcTasks.cpp psAdaptiveSizePolicy.cpp psCompactionManager.cpp psGCAdaptivePolicyCounters.cpp \
|
||||
psGenerationCounters.cpp psMarkSweep.cpp psMarkSweepDecorator.cpp psOldGen.cpp psParallelCompact.cpp \
|
||||
psPermGen.cpp psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp \
|
||||
psPromotionLAB.cpp psPromotionManager.cpp psScavenge.cpp psTasks.cpp psVirtualspace.cpp \
|
||||
psYoungGen.cpp vmPSOperations.cpp asParNewGeneration.cpp parCardTableModRefBS.cpp \
|
||||
parGCAllocBuffer.cpp parNewGeneration.cpp mutableSpace.cpp gSpaceCounters.cpp allocationStats.cpp \
|
||||
spaceCounters.cpp gcAdaptivePolicyCounters.cpp mutableNUMASpace.cpp immutableSpace.cpp \
|
||||
immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yieldWorkingGroup.cpp g1Log.cpp
|
||||
immutableSpace.cpp g1MemoryPool.cpp psMemoryPool.cpp yieldingWorkGroup.cpp g1Log.cpp
|
||||
endif
|
||||
|
||||
ifeq ($(INCLUDE_NMT), false)
|
||||
|
||||
@ -35,7 +35,7 @@ HOTSPOT_VM_COPYRIGHT=Copyright 2013
|
||||
|
||||
HS_MAJOR_VER=25
|
||||
HS_MINOR_VER=0
|
||||
HS_BUILD_NUMBER=20
|
||||
HS_BUILD_NUMBER=21
|
||||
|
||||
JDK_MAJOR_VER=1
|
||||
JDK_MINOR_VER=8
|
||||
|
||||
@ -100,7 +100,13 @@ CXXFLAGS = \
|
||||
# This is VERY important! The version define must only be supplied to vm_version.o
|
||||
# If not, ccache will not re-use the cache at all, since the version string might contain
|
||||
# a time and date.
|
||||
vm_version.o: CXXFLAGS += ${JRE_VERSION}
|
||||
CXXFLAGS/vm_version.o += ${JRE_VERSION}
|
||||
|
||||
CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
|
||||
|
||||
# File specific flags
|
||||
CXXFLAGS += $(CXXFLAGS/BYFILE)
|
||||
|
||||
|
||||
ifndef JAVASE_EMBEDDED
|
||||
ifneq (${ARCH},arm)
|
||||
|
||||
@ -88,7 +88,13 @@ CXXFLAGS = \
|
||||
# This is VERY important! The version define must only be supplied to vm_version.o
|
||||
# If not, ccache will not re-use the cache at all, since the version string might contain
|
||||
# a time and date.
|
||||
vm_version.o: CXXFLAGS += ${JRE_VERSION}
|
||||
CXXFLAGS/vm_version.o += ${JRE_VERSION}
|
||||
|
||||
CXXFLAGS/BYFILE = $(CXXFLAGS/$@)
|
||||
|
||||
# File specific flags
|
||||
CXXFLAGS += $(CXXFLAGS/BYFILE)
|
||||
|
||||
|
||||
# CFLAGS_WARN holds compiler options to suppress/enable warnings.
|
||||
CFLAGS += $(CFLAGS_WARN)
|
||||
|
||||
@ -2887,7 +2887,9 @@ JVM_handle_bsd_signal(int signo, siginfo_t* siginfo,
|
||||
|
||||
void signalHandler(int sig, siginfo_t* info, void* uc) {
|
||||
assert(info != NULL && uc != NULL, "it must be old kernel");
|
||||
int orig_errno = errno; // Preserve errno value over signal handler.
|
||||
JVM_handle_bsd_signal(sig, info, uc, true);
|
||||
errno = orig_errno;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -3653,7 +3653,9 @@ JVM_handle_linux_signal(int signo, siginfo_t* siginfo,
|
||||
|
||||
void signalHandler(int sig, siginfo_t* info, void* uc) {
|
||||
assert(info != NULL && uc != NULL, "it must be old kernel");
|
||||
int orig_errno = errno; // Preserve errno value over signal handler.
|
||||
JVM_handle_linux_signal(sig, info, uc, true);
|
||||
errno = orig_errno;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1865,7 +1865,7 @@ void os::abort(bool dump_core) {
|
||||
|
||||
// Die immediately, no exit hook, no abort hook, no cleanup.
|
||||
void os::die() {
|
||||
_exit(-1);
|
||||
::abort(); // dump core (for debugging)
|
||||
}
|
||||
|
||||
// unused
|
||||
@ -4317,7 +4317,9 @@ JVM_handle_solaris_signal(int signo, siginfo_t* siginfo, void* ucontext,
|
||||
|
||||
|
||||
void signalHandler(int sig, siginfo_t* info, void* ucVoid) {
|
||||
int orig_errno = errno; // Preserve errno value over signal handler.
|
||||
JVM_handle_solaris_signal(sig, info, ucVoid, true);
|
||||
errno = orig_errno;
|
||||
}
|
||||
|
||||
/* Do not delete - if guarantee is ever removed, a signal handler (even empty)
|
||||
|
||||
@ -1940,7 +1940,7 @@ int os::sigexitnum_pd(){
|
||||
|
||||
// a counter for each possible signal value, including signal_thread exit signal
|
||||
static volatile jint pending_signals[NSIG+1] = { 0 };
|
||||
static HANDLE sig_sem;
|
||||
static HANDLE sig_sem = NULL;
|
||||
|
||||
void os::signal_init_pd() {
|
||||
// Initialize signal structures
|
||||
@ -1970,10 +1970,11 @@ void os::signal_init_pd() {
|
||||
|
||||
void os::signal_notify(int signal_number) {
|
||||
BOOL ret;
|
||||
|
||||
Atomic::inc(&pending_signals[signal_number]);
|
||||
ret = ::ReleaseSemaphore(sig_sem, 1, NULL);
|
||||
assert(ret != 0, "ReleaseSemaphore() failed");
|
||||
if (sig_sem != NULL) {
|
||||
Atomic::inc(&pending_signals[signal_number]);
|
||||
ret = ::ReleaseSemaphore(sig_sem, 1, NULL);
|
||||
assert(ret != 0, "ReleaseSemaphore() failed");
|
||||
}
|
||||
}
|
||||
|
||||
static int check_pending_signals(bool wait_for_signal) {
|
||||
|
||||
@ -753,10 +753,11 @@ bool InstructForm::captures_bottom_type(FormDict &globals) const {
|
||||
!strcmp(_matrule->_rChild->_opType,"DecodeNKlass") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"EncodePKlass") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"LoadN") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"GetAndSetN") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"LoadNKlass") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception
|
||||
!strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true;
|
||||
!strcmp(_matrule->_rChild->_opType,"CheckCastPP") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"GetAndSetP") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"GetAndSetN")) ) return true;
|
||||
else if ( is_ideal_load() == Form::idealP ) return true;
|
||||
else if ( is_ideal_store() != Form::none ) return true;
|
||||
|
||||
|
||||
@ -814,7 +814,7 @@ void LIR_OpVisitState::visit(LIR_Op* op) {
|
||||
|
||||
// only visit register parameters
|
||||
int n = opJavaCall->_arguments->length();
|
||||
for (int i = 0; i < n; i++) {
|
||||
for (int i = opJavaCall->_receiver->is_valid() ? 1 : 0; i < n; i++) {
|
||||
if (!opJavaCall->_arguments->at(i)->is_pointer()) {
|
||||
do_input(*opJavaCall->_arguments->adr_at(i));
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2013, 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
|
||||
@ -61,7 +61,8 @@
|
||||
# include "bytes_ppc.hpp"
|
||||
#endif
|
||||
|
||||
#define NOFAILOVER_MAJOR_VERSION 51
|
||||
#define NOFAILOVER_MAJOR_VERSION 51
|
||||
#define STATIC_METHOD_IN_INTERFACE_MAJOR_VERSION 52
|
||||
|
||||
// Access to external entry for VerifyClassCodes - old byte code verifier
|
||||
|
||||
@ -2317,6 +2318,11 @@ void ClassVerifier::verify_invoke_instructions(
|
||||
types = (1 << JVM_CONSTANT_InterfaceMethodref) |
|
||||
(1 << JVM_CONSTANT_Methodref);
|
||||
break;
|
||||
case Bytecodes::_invokestatic:
|
||||
types = (_klass->major_version() < STATIC_METHOD_IN_INTERFACE_MAJOR_VERSION) ?
|
||||
(1 << JVM_CONSTANT_Methodref) :
|
||||
((1 << JVM_CONSTANT_InterfaceMethodref) | (1 << JVM_CONSTANT_Methodref));
|
||||
break;
|
||||
default:
|
||||
types = 1 << JVM_CONSTANT_Methodref;
|
||||
}
|
||||
|
||||
@ -168,11 +168,11 @@ size_t GenCollectorPolicy::bound_minus_alignment(size_t desired_size,
|
||||
void GenCollectorPolicy::initialize_size_policy(size_t init_eden_size,
|
||||
size_t init_promo_size,
|
||||
size_t init_survivor_size) {
|
||||
const double max_gc_minor_pause_sec = ((double) MaxGCMinorPauseMillis)/1000.0;
|
||||
const double max_gc_pause_sec = ((double) MaxGCPauseMillis)/1000.0;
|
||||
_size_policy = new AdaptiveSizePolicy(init_eden_size,
|
||||
init_promo_size,
|
||||
init_survivor_size,
|
||||
max_gc_minor_pause_sec,
|
||||
max_gc_pause_sec,
|
||||
GCTimeRatio);
|
||||
}
|
||||
|
||||
|
||||
@ -456,6 +456,8 @@ class Method : public Metadata {
|
||||
void print_codes_on(int from, int to, outputStream* st) const PRODUCT_RETURN;
|
||||
|
||||
// method parameters
|
||||
bool has_method_parameters() const
|
||||
{ return constMethod()->has_method_parameters(); }
|
||||
int method_parameters_length() const
|
||||
{ return constMethod()->method_parameters_length(); }
|
||||
MethodParametersElement* method_parameters_start() const
|
||||
|
||||
@ -320,6 +320,9 @@ Node *MemNode::Ideal_common(PhaseGVN *phase, bool can_reshape) {
|
||||
|
||||
if (mem != old_mem) {
|
||||
set_req(MemNode::Memory, mem);
|
||||
if (can_reshape && old_mem->outcnt() == 0) {
|
||||
igvn->_worklist.push(old_mem);
|
||||
}
|
||||
if (phase->type( mem ) == Type::TOP) return NodeSentinel;
|
||||
return this;
|
||||
}
|
||||
@ -2319,9 +2322,9 @@ Node *StoreNode::Ideal(PhaseGVN *phase, bool can_reshape) {
|
||||
if (ReduceFieldZeroing && /*can_reshape &&*/
|
||||
mem->is_Proj() && mem->in(0)->is_Initialize()) {
|
||||
InitializeNode* init = mem->in(0)->as_Initialize();
|
||||
intptr_t offset = init->can_capture_store(this, phase);
|
||||
intptr_t offset = init->can_capture_store(this, phase, can_reshape);
|
||||
if (offset > 0) {
|
||||
Node* moved = init->capture_store(this, offset, phase);
|
||||
Node* moved = init->capture_store(this, offset, phase, can_reshape);
|
||||
// If the InitializeNode captured me, it made a raw copy of me,
|
||||
// and I need to disappear.
|
||||
if (moved != NULL) {
|
||||
@ -3134,7 +3137,7 @@ bool InitializeNode::detect_init_independence(Node* n,
|
||||
// an initialization. Returns zero if a check fails.
|
||||
// On success, returns the (constant) offset to which the store applies,
|
||||
// within the initialized memory.
|
||||
intptr_t InitializeNode::can_capture_store(StoreNode* st, PhaseTransform* phase) {
|
||||
intptr_t InitializeNode::can_capture_store(StoreNode* st, PhaseTransform* phase, bool can_reshape) {
|
||||
const int FAIL = 0;
|
||||
if (st->req() != MemNode::ValueIn + 1)
|
||||
return FAIL; // an inscrutable StoreNode (card mark?)
|
||||
@ -3156,6 +3159,91 @@ intptr_t InitializeNode::can_capture_store(StoreNode* st, PhaseTransform* phase)
|
||||
if (!detect_init_independence(val, true, complexity_count))
|
||||
return FAIL; // stored value must be 'simple enough'
|
||||
|
||||
// The Store can be captured only if nothing after the allocation
|
||||
// and before the Store is using the memory location that the store
|
||||
// overwrites.
|
||||
bool failed = false;
|
||||
// If is_complete_with_arraycopy() is true the shape of the graph is
|
||||
// well defined and is safe so no need for extra checks.
|
||||
if (!is_complete_with_arraycopy()) {
|
||||
// We are going to look at each use of the memory state following
|
||||
// the allocation to make sure nothing reads the memory that the
|
||||
// Store writes.
|
||||
const TypePtr* t_adr = phase->type(adr)->isa_ptr();
|
||||
int alias_idx = phase->C->get_alias_index(t_adr);
|
||||
ResourceMark rm;
|
||||
Unique_Node_List mems;
|
||||
mems.push(mem);
|
||||
Node* unique_merge = NULL;
|
||||
for (uint next = 0; next < mems.size(); ++next) {
|
||||
Node *m = mems.at(next);
|
||||
for (DUIterator_Fast jmax, j = m->fast_outs(jmax); j < jmax; j++) {
|
||||
Node *n = m->fast_out(j);
|
||||
if (n->outcnt() == 0) {
|
||||
continue;
|
||||
}
|
||||
if (n == st) {
|
||||
continue;
|
||||
} else if (n->in(0) != NULL && n->in(0) != ctl) {
|
||||
// If the control of this use is different from the control
|
||||
// of the Store which is right after the InitializeNode then
|
||||
// this node cannot be between the InitializeNode and the
|
||||
// Store.
|
||||
continue;
|
||||
} else if (n->is_MergeMem()) {
|
||||
if (n->as_MergeMem()->memory_at(alias_idx) == m) {
|
||||
// We can hit a MergeMemNode (that will likely go away
|
||||
// later) that is a direct use of the memory state
|
||||
// following the InitializeNode on the same slice as the
|
||||
// store node that we'd like to capture. We need to check
|
||||
// the uses of the MergeMemNode.
|
||||
mems.push(n);
|
||||
}
|
||||
} else if (n->is_Mem()) {
|
||||
Node* other_adr = n->in(MemNode::Address);
|
||||
if (other_adr == adr) {
|
||||
failed = true;
|
||||
break;
|
||||
} else {
|
||||
const TypePtr* other_t_adr = phase->type(other_adr)->isa_ptr();
|
||||
if (other_t_adr != NULL) {
|
||||
int other_alias_idx = phase->C->get_alias_index(other_t_adr);
|
||||
if (other_alias_idx == alias_idx) {
|
||||
// A load from the same memory slice as the store right
|
||||
// after the InitializeNode. We check the control of the
|
||||
// object/array that is loaded from. If it's the same as
|
||||
// the store control then we cannot capture the store.
|
||||
assert(!n->is_Store(), "2 stores to same slice on same control?");
|
||||
Node* base = other_adr;
|
||||
assert(base->is_AddP(), err_msg_res("should be addp but is %s", base->Name()));
|
||||
base = base->in(AddPNode::Base);
|
||||
if (base != NULL) {
|
||||
base = base->uncast();
|
||||
if (base->is_Proj() && base->in(0) == alloc) {
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (failed) {
|
||||
if (!can_reshape) {
|
||||
// We decided we couldn't capture the store during parsing. We
|
||||
// should try again during the next IGVN once the graph is
|
||||
// cleaner.
|
||||
phase->C->record_for_igvn(st);
|
||||
}
|
||||
return FAIL;
|
||||
}
|
||||
|
||||
return offset; // success
|
||||
}
|
||||
|
||||
@ -3266,11 +3354,11 @@ Node* InitializeNode::make_raw_address(intptr_t offset,
|
||||
// rawstore1 rawstore2)
|
||||
//
|
||||
Node* InitializeNode::capture_store(StoreNode* st, intptr_t start,
|
||||
PhaseTransform* phase) {
|
||||
PhaseTransform* phase, bool can_reshape) {
|
||||
assert(stores_are_sane(phase), "");
|
||||
|
||||
if (start < 0) return NULL;
|
||||
assert(can_capture_store(st, phase) == start, "sanity");
|
||||
assert(can_capture_store(st, phase, can_reshape) == start, "sanity");
|
||||
|
||||
Compile* C = phase->C;
|
||||
int size_in_bytes = st->memory_size();
|
||||
|
||||
@ -1072,11 +1072,11 @@ public:
|
||||
|
||||
// See if this store can be captured; return offset where it initializes.
|
||||
// Return 0 if the store cannot be moved (any sort of problem).
|
||||
intptr_t can_capture_store(StoreNode* st, PhaseTransform* phase);
|
||||
intptr_t can_capture_store(StoreNode* st, PhaseTransform* phase, bool can_reshape);
|
||||
|
||||
// Capture another store; reformat it to write my internal raw memory.
|
||||
// Return the captured copy, else NULL if there is some sort of problem.
|
||||
Node* capture_store(StoreNode* st, intptr_t start, PhaseTransform* phase);
|
||||
Node* capture_store(StoreNode* st, intptr_t start, PhaseTransform* phase, bool can_reshape);
|
||||
|
||||
// Find captured store which corresponds to the range [start..start+size).
|
||||
// Return my own memory projection (meaning the initial zero bits)
|
||||
|
||||
@ -1261,6 +1261,7 @@ static void kill_dead_code( Node *dead, PhaseIterGVN *igvn ) {
|
||||
if (dead->is_expensive()) {
|
||||
igvn->C->remove_expensive_node(dead);
|
||||
}
|
||||
igvn->C->record_dead_node(dead->_idx);
|
||||
// Kill all inputs to the dead guy
|
||||
for (uint i=0; i < dead->req(); i++) {
|
||||
Node *n = dead->in(i); // Get input to dead guy
|
||||
|
||||
@ -1197,6 +1197,18 @@ void PhaseIterGVN::remove_globally_dead_node( Node *dead ) {
|
||||
assert(!(i < imax), "sanity");
|
||||
}
|
||||
}
|
||||
if (ReduceFieldZeroing && dead->is_Load() && i == MemNode::Memory &&
|
||||
in->is_Proj() && in->in(0) != NULL && in->in(0)->is_Initialize()) {
|
||||
// A Load that directly follows an InitializeNode is
|
||||
// going away. The Stores that follow are candidates
|
||||
// again to be captured by the InitializeNode.
|
||||
for (DUIterator_Fast jmax, j = in->fast_outs(jmax); j < jmax; j++) {
|
||||
Node *n = in->fast_out(j);
|
||||
if (n->is_Store()) {
|
||||
_worklist.push(n);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
C->record_dead_node(dead->_idx);
|
||||
|
||||
@ -1558,6 +1558,18 @@ void VM_RedefineClasses::rewrite_cp_refs_in_method(methodHandle method,
|
||||
} break;
|
||||
}
|
||||
} // end for each bytecode
|
||||
|
||||
// We also need to rewrite the parameter name indexes, if there is
|
||||
// method parameter data present
|
||||
if(method->has_method_parameters()) {
|
||||
const int len = method->method_parameters_length();
|
||||
MethodParametersElement* elem = method->method_parameters_start();
|
||||
|
||||
for (int i = 0; i < len; i++) {
|
||||
const u2 cp_index = elem[i].name_cp_index;
|
||||
elem[i].name_cp_index = find_new_index(cp_index);
|
||||
}
|
||||
}
|
||||
} // end rewrite_cp_refs_in_method()
|
||||
|
||||
|
||||
|
||||
@ -1738,16 +1738,6 @@ bool Arguments::verify_percentage(uintx value, const char* name) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static void force_serial_gc() {
|
||||
FLAG_SET_DEFAULT(UseSerialGC, true);
|
||||
FLAG_SET_DEFAULT(UseParNewGC, false);
|
||||
FLAG_SET_DEFAULT(UseConcMarkSweepGC, false);
|
||||
FLAG_SET_DEFAULT(CMSIncrementalMode, false); // special CMS suboption
|
||||
FLAG_SET_DEFAULT(UseParallelGC, false);
|
||||
FLAG_SET_DEFAULT(UseParallelOldGC, false);
|
||||
FLAG_SET_DEFAULT(UseG1GC, false);
|
||||
}
|
||||
|
||||
static bool verify_serial_gc_flags() {
|
||||
return (UseSerialGC &&
|
||||
!(UseParNewGC || (UseConcMarkSweepGC || CMSIncrementalMode) || UseG1GC ||
|
||||
@ -2498,7 +2488,12 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args,
|
||||
}
|
||||
// Out of the box management support
|
||||
if (match_option(option, "-Dcom.sun.management", &tail)) {
|
||||
#if INCLUDE_MANAGEMENT
|
||||
FLAG_SET_CMDLINE(bool, ManagementServer, true);
|
||||
#else
|
||||
vm_exit_during_initialization(
|
||||
"-Dcom.sun.management is not supported in this VM.", NULL);
|
||||
#endif
|
||||
}
|
||||
// -Xint
|
||||
} else if (match_option(option, "-Xint", &tail)) {
|
||||
@ -2844,6 +2839,11 @@ SOLARIS_ONLY(
|
||||
// away and will cause VM initialization failures!
|
||||
warning("-XX:+UseVMInterruptibleIO is obsolete and will be removed in a future release.");
|
||||
FLAG_SET_CMDLINE(bool, UseVMInterruptibleIO, true);
|
||||
#if !INCLUDE_MANAGEMENT
|
||||
} else if (match_option(option, "-XX:+ManagementServer", &tail)) {
|
||||
vm_exit_during_initialization(
|
||||
"ManagementServer is not supported in this VM.", NULL);
|
||||
#endif // INCLUDE_MANAGEMENT
|
||||
} else if (match_option(option, "-XX:", &tail)) { // -XX:xxxx
|
||||
// Skip -XX:Flags= since that case has already been handled
|
||||
if (strncmp(tail, "Flags=", strlen("Flags=")) != 0) {
|
||||
@ -3072,6 +3072,27 @@ do { \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
|
||||
#define UNSUPPORTED_GC_OPTION(gc) \
|
||||
do { \
|
||||
if (gc) { \
|
||||
if (FLAG_IS_CMDLINE(gc)) { \
|
||||
warning(#gc " is not supported in this VM. Using Serial GC."); \
|
||||
} \
|
||||
FLAG_SET_DEFAULT(gc, false); \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
static void force_serial_gc() {
|
||||
FLAG_SET_DEFAULT(UseSerialGC, true);
|
||||
FLAG_SET_DEFAULT(CMSIncrementalMode, false); // special CMS suboption
|
||||
UNSUPPORTED_GC_OPTION(UseG1GC);
|
||||
UNSUPPORTED_GC_OPTION(UseParallelGC);
|
||||
UNSUPPORTED_GC_OPTION(UseParallelOldGC);
|
||||
UNSUPPORTED_GC_OPTION(UseConcMarkSweepGC);
|
||||
UNSUPPORTED_GC_OPTION(UseParNewGC);
|
||||
}
|
||||
|
||||
// Parse entry point called from JNI_CreateJavaVM
|
||||
|
||||
jint Arguments::parse(const JavaVMInitArgs* args) {
|
||||
@ -3187,28 +3208,15 @@ jint Arguments::parse(const JavaVMInitArgs* args) {
|
||||
hotspotrc, hotspotrc);
|
||||
}
|
||||
|
||||
#if (defined JAVASE_EMBEDDED || defined ARM)
|
||||
UNSUPPORTED_OPTION(UseG1GC, "G1 GC");
|
||||
#endif
|
||||
|
||||
#ifdef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD.
|
||||
UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages");
|
||||
#endif
|
||||
|
||||
#if !INCLUDE_ALL_GCS
|
||||
if (UseParallelGC) {
|
||||
warning("Parallel GC is not supported in this VM. Using Serial GC.");
|
||||
}
|
||||
if (UseParallelOldGC) {
|
||||
warning("Parallel Old GC is not supported in this VM. Using Serial GC.");
|
||||
}
|
||||
if (UseConcMarkSweepGC) {
|
||||
warning("Concurrent Mark Sweep GC is not supported in this VM. Using Serial GC.");
|
||||
}
|
||||
if (UseParNewGC) {
|
||||
warning("Par New GC is not supported in this VM. Using Serial GC.");
|
||||
}
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
#if INCLUDE_ALL_GCS
|
||||
#if (defined JAVASE_EMBEDDED || defined ARM)
|
||||
UNSUPPORTED_OPTION(UseG1GC, "G1 GC");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef PRODUCT
|
||||
if (TraceBytecodesAt != 0) {
|
||||
|
||||
@ -2109,8 +2109,6 @@ typedef BinaryTreeDictionary<Metablock, FreeList> MetablockTreeDictionary;
|
||||
/* Useful globals */ \
|
||||
/******************/ \
|
||||
\
|
||||
declare_constant(UseTLAB) \
|
||||
declare_constant(EnableInvokeDynamic) \
|
||||
\
|
||||
/**************/ \
|
||||
/* Stack bias */ \
|
||||
|
||||
@ -24,9 +24,7 @@
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
#if INCLUDE_ALL_GCS
|
||||
#include "utilities/yieldingWorkgroup.hpp"
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
// Forward declaration of classes declared here.
|
||||
|
||||
|
||||
@ -28,4 +28,4 @@
|
||||
# DO NOT EDIT without first contacting hotspot-regtest@sun.com
|
||||
|
||||
# The list of keywords supported in this test suite
|
||||
keys=cte_test jcmd nmt regression
|
||||
keys=cte_test jcmd nmt regression gc
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2009, 2013, 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
|
||||
@ -27,7 +27,7 @@
|
||||
* @bug 6852078
|
||||
* @summary Disable SuperWord optimization for unsafe read/write
|
||||
*
|
||||
* @run main/othervm Test6852078
|
||||
* @run main Test6852078
|
||||
*/
|
||||
|
||||
import java.util.*;
|
||||
@ -50,7 +50,11 @@ public class Test6852078 {
|
||||
}
|
||||
|
||||
public static void main(String [] args) {
|
||||
long start = System.currentTimeMillis();
|
||||
for (int i=0; i<2000; i++) {
|
||||
// To protect slow systems from test-too-long timeouts
|
||||
if ((i > 100) && ((System.currentTimeMillis() - start) > 100000))
|
||||
break;
|
||||
Test6852078 t = new Test6852078(args);
|
||||
}
|
||||
}
|
||||
|
||||
98
hotspot/test/compiler/8007294/Test8007294.java
Normal file
98
hotspot/test/compiler/8007294/Test8007294.java
Normal file
@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8007294
|
||||
* @summary ReduceFieldZeroing doesn't check for dependent load and can lead to incorrect execution
|
||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+AlwaysIncrementalInline -XX:-UseOnStackReplacement -XX:-BackgroundCompilation Test8007294
|
||||
*
|
||||
*/
|
||||
|
||||
public class Test8007294 {
|
||||
|
||||
int i1;
|
||||
int i2;
|
||||
|
||||
Test8007294(int i1, int i2) {
|
||||
this.i1 = i1;
|
||||
this.i2 = i2;
|
||||
}
|
||||
|
||||
static int m(int v) {
|
||||
return v;
|
||||
}
|
||||
|
||||
static Test8007294 test1() {
|
||||
Test8007294 obj = new Test8007294(10, 100);
|
||||
int v1 = obj.i1;
|
||||
|
||||
int v3 = m(v1);
|
||||
int v2 = obj.i2;
|
||||
obj.i2 = v3;
|
||||
obj.i1 = v2;
|
||||
|
||||
return obj;
|
||||
}
|
||||
|
||||
static int test2(int i) {
|
||||
int j = 0;
|
||||
if (i > 0) {
|
||||
j = 1;
|
||||
}
|
||||
|
||||
int[] arr = new int[10];
|
||||
arr[0] = 1;
|
||||
arr[1] = 2;
|
||||
int v1 = arr[j];
|
||||
arr[0] = 3;
|
||||
arr[1] = 4;
|
||||
|
||||
return v1;
|
||||
}
|
||||
|
||||
static public void main(String[] args) {
|
||||
boolean failed = false;
|
||||
for (int i = 0; i < 20000; i++) {
|
||||
Test8007294 obj = test1();
|
||||
if (obj.i1 != 100 || obj.i2 != 10) {
|
||||
System.out.println("FAILED test1 obj.i1 = " + obj.i1 +", obj.i2 = " + obj.i2);
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < 20000; i++) {
|
||||
int res = test2(1);
|
||||
if (res != 2) {
|
||||
System.out.println("FAILED test2 = " + res);
|
||||
failed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (failed) {
|
||||
System.exit(97);
|
||||
} else {
|
||||
System.out.println("PASSED");
|
||||
}
|
||||
}
|
||||
}
|
||||
56
hotspot/test/compiler/8007722/Test8007722.java
Normal file
56
hotspot/test/compiler/8007722/Test8007722.java
Normal file
@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8007722
|
||||
* @summary GetAndSetP's MachNode should capture bottom type
|
||||
* @run main/othervm -XX:-UseOnStackReplacement -XX:-BackgroundCompilation Test8007722
|
||||
*
|
||||
*/
|
||||
|
||||
import java.util.concurrent.atomic.*;
|
||||
|
||||
public class Test8007722 {
|
||||
|
||||
int i;
|
||||
static AtomicReference<Test8007722> ref;
|
||||
|
||||
static int test(Test8007722 new_obj) {
|
||||
Test8007722 o = ref.getAndSet(new_obj);
|
||||
int ret = o.i;
|
||||
o.i = 5;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static public void main(String[] args) {
|
||||
Test8007722 obj = new Test8007722();
|
||||
ref = new AtomicReference<Test8007722>(obj);
|
||||
|
||||
for (int i = 0; i < 20000; i++) {
|
||||
test(obj);
|
||||
}
|
||||
|
||||
System.out.println("PASSED");
|
||||
}
|
||||
}
|
||||
42
hotspot/test/gc/8000311/Test8000311.java
Normal file
42
hotspot/test/gc/8000311/Test8000311.java
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @test Test8000311
|
||||
* @key gc
|
||||
* @bug 8000311
|
||||
* @summary G1: ParallelGCThreads==0 broken
|
||||
* @run main/othervm -XX:+UseG1GC -XX:ParallelGCThreads=0 -XX:+ResizePLAB -XX:+ExplicitGCInvokesConcurrent Test8000311
|
||||
* @author filipp.zhinkin@oracle.com
|
||||
*/
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class Test8000311 {
|
||||
public static void main(String args[]) {
|
||||
for(int i = 0; i<100; i++) {
|
||||
byte[] garbage = new byte[1000];
|
||||
System.gc();
|
||||
}
|
||||
}
|
||||
}
|
||||
54
hotspot/test/gc/TestG1ZeroPGCTJcmdThreadPrint.java
Normal file
54
hotspot/test/gc/TestG1ZeroPGCTJcmdThreadPrint.java
Normal file
@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/* @test TestG1ZeroPGCTJcmdThreadPrint
|
||||
* @key gc
|
||||
* @bug 8005875
|
||||
* @summary Use jcmd to generate a thread dump of a Java program being run with PGCT=0 to verify 8005875
|
||||
* @library /testlibrary
|
||||
* @run main/othervm -XX:+UseG1GC -XX:ParallelGCThreads=0 -XX:+IgnoreUnrecognizedVMOptions TestG1ZeroPGCTJcmdThreadPrint
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.*;
|
||||
|
||||
public class TestG1ZeroPGCTJcmdThreadPrint {
|
||||
public static void main(String args[]) throws Exception {
|
||||
|
||||
// Grab the pid from the current java process
|
||||
String pid = Integer.toString(ProcessTools.getProcessId());
|
||||
|
||||
// Create a ProcessBuilder
|
||||
ProcessBuilder pb = new ProcessBuilder();
|
||||
|
||||
// Run jcmd <pid> Thread.print
|
||||
pb.command(JDKToolFinder.getJDKTool("jcmd"), pid, "Thread.print");
|
||||
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
|
||||
// There shouldn't be a work gang for concurrent marking.
|
||||
output.shouldNotContain("G1 Parallel Marking Threads");
|
||||
|
||||
// Make sure we didn't crash
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestCMS.java
Normal file
46
hotspot/test/gc/startup_warnings/TestCMS.java
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestCMS
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that CMS does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestCMS {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestCMSIncrementalMode.java
Normal file
46
hotspot/test/gc/startup_warnings/TestCMSIncrementalMode.java
Normal file
@ -0,0 +1,46 @@
|
||||
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestCMSIncrementalMode
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the deprecated CMSIncrementalMode print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
public class TestCMSIncrementalMode {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:+CMSIncrementalMode", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldContain("warning: Using incremental CMS is deprecated and will likely be removed in a future release");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestCMSNoIncrementalMode
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that CMS with incremental mode turned off does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
public class TestCMSNoIncrementalMode {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:-CMSIncrementalMode", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
45
hotspot/test/gc/startup_warnings/TestDefNewCMS.java
Normal file
45
hotspot/test/gc/startup_warnings/TestDefNewCMS.java
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestDefNewCMS
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the deprecated DefNew+CMS combination print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
public class TestDefNewCMS {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:-UseParNewGC", "-XX:+UseConcMarkSweepGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldContain("warning: Using the DefNew young collector with the CMS collector is deprecated and will likely be removed in a future release");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
45
hotspot/test/gc/startup_warnings/TestG1.java
Normal file
45
hotspot/test/gc/startup_warnings/TestG1.java
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestG1
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the G1 collector does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
public class TestG1 {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestIncGC.java
Normal file
46
hotspot/test/gc/startup_warnings/TestIncGC.java
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestIncGC
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the deprecated -Xincgc print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestIncGC {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xincgc", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldContain("warning: Using incremental CMS is deprecated and will likely be removed in a future release");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestParNewCMS.java
Normal file
46
hotspot/test/gc/startup_warnings/TestParNewCMS.java
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestParNewCMS
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the combination ParNew+CMS does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestParNewCMS {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParNewGC", "-XX:+UseConcMarkSweepGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestParNewSerialOld.java
Normal file
46
hotspot/test/gc/startup_warnings/TestParNewSerialOld.java
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestParNewSerialOld
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the deprecated ParNew+SerialOld combination print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestParNewSerialOld {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParNewGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldContain("warning: Using the ParNew young collector with the Serial old collector is deprecated and will likely be removed in a future release");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestParallelGC.java
Normal file
46
hotspot/test/gc/startup_warnings/TestParallelGC.java
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestParallelGC
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that ParallelGC does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestParallelGC {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestParallelScavengeSerialOld
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that the ParallelScavenge+SerialOld combination does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestParallelScavengeSerialOld {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-XX:-UseParallelOldGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
46
hotspot/test/gc/startup_warnings/TestSerialGC.java
Normal file
46
hotspot/test/gc/startup_warnings/TestSerialGC.java
Normal file
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test TestSerialGC
|
||||
* @key gc
|
||||
* @bug 8006398
|
||||
* @summary Test that SerialGC does not print a warning message
|
||||
* @library /testlibrary
|
||||
*/
|
||||
|
||||
import com.oracle.java.testlibrary.OutputAnalyzer;
|
||||
import com.oracle.java.testlibrary.ProcessTools;
|
||||
|
||||
|
||||
public class TestSerialGC {
|
||||
|
||||
public static void main(String args[]) throws Exception {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseSerialGC", "-version");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
output.shouldNotContain("warning");
|
||||
output.shouldNotContain("error");
|
||||
output.shouldHaveExitValue(0);
|
||||
}
|
||||
|
||||
}
|
||||
44
hotspot/test/runtime/8007736/TestStaticIF.java
Normal file
44
hotspot/test/runtime/8007736/TestStaticIF.java
Normal file
@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 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
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8007736
|
||||
* @summary Test static interface method.
|
||||
* @run main/othervm -Xverify:all TestStaticIF
|
||||
*/
|
||||
|
||||
public class TestStaticIF implements StaticMethodInInterface {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.printf("main: %s%n", StaticMethodInInterface.get());
|
||||
}
|
||||
}
|
||||
|
||||
interface StaticMethodInInterface {
|
||||
|
||||
public static String get() {
|
||||
return "Hello from StaticMethodInInterface.get()";
|
||||
}
|
||||
}
|
||||
@ -199,3 +199,4 @@ bdf2af722a6b54fca47d8c51d17a1b8f41dd7a3e jdk8-b72
|
||||
ff0b73a6b3f6cea644d37d56d746a37743419fa7 jdk8-b75
|
||||
0c08593944d0cd30645f6e1e4946c51ff2b10c8c jdk8-b76
|
||||
573e789c187a69a3ae00bffd26eb35c0f4a60636 jdk8-b77
|
||||
00958c5a7070bd578aa8b70773cb3f204a9c1be1 jdk8-b78
|
||||
|
||||
@ -199,3 +199,4 @@ c606f644a5d9118c14b5822738bf23c300f14f24 jdk8-b73
|
||||
966bf9f3c41a59ff5d86ff4275291c52f329f984 jdk8-b75
|
||||
c4853f3f0e89ac60aa5b517f5f224f0f60e08577 jdk8-b76
|
||||
64dfba1bad16433f609f17a42c3c5990367c5c0b jdk8-b77
|
||||
391de4c992d1960a09cdd340362ff936bac69323 jdk8-b78
|
||||
|
||||
@ -199,3 +199,4 @@ a996b57e554198f4592a5f3c30f2f9f4075e545d jdk8-b70
|
||||
4a67fdb752b7d6329d9be9c28d3f9d6cf7eb9a3c jdk8-b75
|
||||
3a263052866137b645ab86498a43693ff5c19e69 jdk8-b76
|
||||
b2fc8e31cecc35b76188e821d4c5dc0e0b74ac24 jdk8-b77
|
||||
00b7535d743f83eda763c10b3c9ea19ba4b67f55 jdk8-b78
|
||||
|
||||
@ -122,7 +122,6 @@ FILES_export = \
|
||||
sun/lwawt/macosx/CTextPipe.java \
|
||||
sun/lwawt/macosx/CDesktopPeer.java \
|
||||
sun/java2d/CRenderer.java \
|
||||
sun/lwawt/macosx/EventDispatchAccess.java \
|
||||
sun/lwawt/macosx/NSPrintInfo.java \
|
||||
sun/lwawt/macosx/CAccessibility.java \
|
||||
sun/lwawt/macosx/CAccessible.java \
|
||||
|
||||
@ -199,3 +199,4 @@ d7360bf35ee1f40ff78c2e83a22b5446ee464346 jdk8-b69
|
||||
c2e11e2ec4a3682513e566849e5562f31ded8c65 jdk8-b75
|
||||
e81839b3233792415daaab051698edc6067f1a16 jdk8-b76
|
||||
89c66415168925dffe492356ff893ff248bb5603 jdk8-b77
|
||||
af8417e590f4e76e0dfed09e71239fb102ef0d43 jdk8-b78
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user