Skip to content

Commit 054ae8f

Browse files
authored
Merge pull request #1 from openjdk/master
merge
2 parents 382b8fe + 779d2c3 commit 054ae8f

File tree

340 files changed

+7823
-5826
lines changed

Some content is hidden

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

340 files changed

+7823
-5826
lines changed

.jcheck/conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jbs=JDK
66
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace
77

88
[repository]
9-
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\\.(?:0|[1-9][0-9]*)){0,4})(?:\\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\\d{1,3})?-(?:(?:b\\d{2,3})|(?:ga)))|(?:hs\\d\\d(?:\\.\\d{1,2})?-b\\d\\d)
9+
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\.(?:0|[1-9][0-9]*)){0,4})(?:\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\d{1,3})?-(?:(?:b\d{2,3})|(?:ga)))|(?:hs\d\d(?:\.\d{1,2})?-b\d\d)
1010
branches=
1111

1212
[census]

make/hotspot/lib/JvmFeatures.gmk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ ifneq ($(call check-jvm-feature, cds), true)
119119
archiveBuilder.cpp \
120120
archiveUtils.cpp \
121121
classListParser.cpp \
122+
classLoaderDataShared.cpp \
122123
classLoaderExt.cpp \
124+
cppVtables.cpp \
123125
dumpAllocStats.cpp \
124126
dynamicArchive.cpp \
125127
filemap.cpp \

make/hotspot/symbols/symbols-unix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,6 @@ JVM_AddModuleExports
198198
JVM_AddModuleExportsToAll
199199
JVM_AddModuleExportsToAllUnnamed
200200
JVM_AddReadsModule
201+
JVM_DefineArchivedModules
201202
JVM_DefineModule
202203
JVM_SetBootLoaderUnnamedModule

src/hotspot/cpu/aarch64/aarch64.ad

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4043,9 +4043,6 @@ encode %{
40434043
// SP meets the minimum alignment.
40444044

40454045
frame %{
4046-
// What direction does stack grow in (assumed to be same for C & Java)
4047-
stack_direction(TOWARDS_LOW);
4048-
40494046
// These three registers define part of the calling convention
40504047
// between compiled code and the interpreter.
40514048

src/hotspot/cpu/aarch64/gc/shared/barrierSetNMethod_aarch64.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void BarrierSetNMethod::deoptimize(nmethod* nm, address* return_address_ptr) {
101101

102102
frame_pointers_t *new_frame = (frame_pointers_t *)(return_address_ptr - 5);
103103

104-
JavaThread *thread = (JavaThread*)Thread::current();
104+
JavaThread *thread = JavaThread::current();
105105
RegisterMap reg_map(thread, false);
106106
frame frame = thread->last_frame();
107107

@@ -111,14 +111,11 @@ void BarrierSetNMethod::deoptimize(nmethod* nm, address* return_address_ptr) {
111111

112112
LogTarget(Trace, nmethod, barrier) out;
113113
if (out.is_enabled()) {
114-
Thread* thread = Thread::current();
115-
assert(thread->is_Java_thread(), "must be JavaThread");
116-
JavaThread* jth = (JavaThread*) thread;
117114
ResourceMark mark;
118115
log_trace(nmethod, barrier)("deoptimize(nmethod: %s(%p), return_addr: %p, osr: %d, thread: %p(%s), making rsp: %p) -> %p",
119116
nm->method()->name_and_sig_as_C_string(),
120-
nm, *(address *) return_address_ptr, nm->is_osr_method(), jth,
121-
jth->get_thread_name(), frame.sp(), nm->verified_entry_point());
117+
nm, *(address *) return_address_ptr, nm->is_osr_method(), thread,
118+
thread->get_thread_name(), frame.sp(), nm->verified_entry_point());
122119
}
123120

124121
new_frame->sp = frame.sp();

src/hotspot/cpu/aarch64/globals_aarch64.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,11 @@ define_pd_global(intx, InitArrayShortSize, BytesPerLong);
7575
define_pd_global(intx, InlineSmallCode, 1000);
7676
#endif
7777

78-
#define ARCH_FLAGS(develop, \
79-
product, \
80-
diagnostic, \
81-
experimental, \
82-
notproduct, \
83-
range, \
84-
constraint) \
78+
#define ARCH_FLAGS(develop, \
79+
product, \
80+
notproduct, \
81+
range, \
82+
constraint) \
8583
\
8684
product(bool, NearCpool, true, \
8785
"constant pool is close to instructions") \
@@ -113,4 +111,6 @@ define_pd_global(intx, InlineSmallCode, 1000);
113111
"Value -1 means off.") \
114112
range(-1, 4096)
115113

114+
// end of ARCH_FLAGS
115+
116116
#endif // CPU_AARCH64_GLOBALS_AARCH64_HPP

src/hotspot/cpu/arm/arm.ad

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,9 +1664,6 @@ encode %{
16641664
// the region from SP to FP meets the minimum stack alignment.
16651665

16661666
frame %{
1667-
// What direction does stack grow in (assumed to be same for native & Java)
1668-
stack_direction(TOWARDS_LOW);
1669-
16701667
// These two registers define part of the calling convention
16711668
// between compiled code and the interpreter.
16721669
inline_cache_reg(R_Ricklass); // Inline Cache Register or Method* for I2C

src/hotspot/cpu/arm/globals_arm.hpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,12 @@ define_pd_global(bool, CompactStrings, false);
7070

7171
define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong);
7272

73-
#define ARCH_FLAGS(develop, \
74-
product, \
75-
diagnostic, \
76-
experimental, \
77-
notproduct, \
78-
range, \
73+
#define ARCH_FLAGS(develop, \
74+
product, \
75+
notproduct, \
76+
range, \
7977
constraint)
78+
79+
// end of ARCH_FLAGS
80+
8081
#endif // CPU_ARM_GLOBALS_ARM_HPP

src/hotspot/cpu/ppc/globals_ppc.hpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,11 @@ define_pd_global(bool, CompactStrings, true);
7575
define_pd_global(intx, InitArrayShortSize, 9*BytesPerLong);
7676

7777
// Platform dependent flag handling: flags only defined on this platform.
78-
#define ARCH_FLAGS(develop, \
79-
product, \
80-
diagnostic, \
81-
experimental, \
82-
notproduct, \
83-
range, \
84-
constraint) \
78+
#define ARCH_FLAGS(develop, \
79+
product, \
80+
notproduct, \
81+
range, \
82+
constraint) \
8583
\
8684
product(uintx, PowerArchitecturePPC64, 0, \
8785
"Specify the PowerPC family version in use. If not provided, " \
@@ -161,7 +159,7 @@ define_pd_global(intx, InitArrayShortSize, 9*BytesPerLong);
161159
product(bool, UseRTMLocking, false, \
162160
"Enable RTM lock eliding for inflated locks in compiled code") \
163161
\
164-
experimental(bool, UseRTMForStackLocks, false, \
162+
product(bool, UseRTMForStackLocks, false, EXPERIMENTAL, \
165163
"Enable RTM lock eliding for stack locks in compiled code") \
166164
\
167165
product(bool, UseRTMDeopt, false, \
@@ -171,33 +169,35 @@ define_pd_global(intx, InitArrayShortSize, 9*BytesPerLong);
171169
"Number of RTM retries on lock abort or busy") \
172170
range(0, max_jint) \
173171
\
174-
experimental(int, RTMSpinLoopCount, 100, \
172+
product(int, RTMSpinLoopCount, 100, EXPERIMENTAL, \
175173
"Spin count for lock to become free before RTM retry") \
176174
range(0, 32767) /* immediate operand limit on ppc */ \
177175
\
178-
experimental(int, RTMAbortThreshold, 1000, \
176+
product(int, RTMAbortThreshold, 1000, EXPERIMENTAL, \
179177
"Calculate abort ratio after this number of aborts") \
180178
range(0, max_jint) \
181179
\
182-
experimental(int, RTMLockingThreshold, 10000, \
180+
product(int, RTMLockingThreshold, 10000, EXPERIMENTAL, \
183181
"Lock count at which to do RTM lock eliding without " \
184182
"abort ratio calculation") \
185183
range(0, max_jint) \
186184
\
187-
experimental(int, RTMAbortRatio, 50, \
185+
product(int, RTMAbortRatio, 50, EXPERIMENTAL, \
188186
"Lock abort ratio at which to stop use RTM lock eliding") \
189187
range(0, 100) /* natural range */ \
190188
\
191-
experimental(int, RTMTotalCountIncrRate, 64, \
189+
product(int, RTMTotalCountIncrRate, 64, EXPERIMENTAL, \
192190
"Increment total RTM attempted lock count once every n times") \
193191
range(1, 32767) /* immediate operand limit on ppc */ \
194192
constraint(RTMTotalCountIncrRateConstraintFunc,AfterErgo) \
195193
\
196-
experimental(intx, RTMLockingCalculationDelay, 0, \
194+
product(intx, RTMLockingCalculationDelay, 0, EXPERIMENTAL, \
197195
"Number of milliseconds to wait before start calculating aborts " \
198196
"for RTM locking") \
199197
\
200-
experimental(bool, UseRTMXendForLockBusy, true, \
201-
"Use RTM Xend instead of Xabort when lock busy") \
198+
product(bool, UseRTMXendForLockBusy, true, EXPERIMENTAL, \
199+
"Use RTM Xend instead of Xabort when lock busy")
200+
201+
// end of ARCH_FLAGS
202202

203203
#endif // CPU_PPC_GLOBALS_PPC_HPP

src/hotspot/cpu/ppc/ppc.ad

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4118,9 +4118,6 @@ encode %{
41184118
// Definition of frame structure and management information.
41194119

41204120
frame %{
4121-
// What direction does stack grow in (assumed to be same for native & Java).
4122-
stack_direction(TOWARDS_LOW);
4123-
41244121
// These two registers define part of the calling convention between
41254122
// compiled code and the interpreter.
41264123

0 commit comments

Comments
 (0)