Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge jdk-24+6 into rivos/main #182

Merged
merged 65 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
b20e8c8
8335397: Improve reliability of TestRecursiveMonitorChurn.java
xmas92 Jul 4, 2024
3e3f83f
8335385: javac crash on unattributed piece of AST
lahodaj Jul 4, 2024
0bb9c76
8324089: Fix typo in the manual page for "jcmd" (man jcmd)
egahlin Jul 4, 2024
cf1be87
8335663: Fix simple -Wzero-as-null-pointer-constant warnings in C2 code
Jul 4, 2024
c0604fb
8334890: Missing unconditional cross modifying fence in nmethod entry…
fisk Jul 4, 2024
916db07
8335532: [JVMCI] Export VM_Version::L1_line_size in JVMCI
Jul 4, 2024
ced9906
8334371: [AIX] Beginning with AIX 7.3 TL1 mmap() supports 64K memory …
Jul 4, 2024
7e378fc
8335667: Fix simple -Wzero-as-null-pointer-constant warnings in compi…
Jul 4, 2024
6a47279
8332072: Convert package.html files in `java.naming` to package-info.…
nizarbenalla Jul 4, 2024
b0efd77
8314653: Metaspace: remove allocation guard feature
tstuefe Jul 4, 2024
da0ffa8
8334031: Generated JfrNativeSettings seems off
roberttoyonaga Jul 4, 2024
3050ba0
8335654: Remove stale hyperlink in divnode.cpp
jaskarth Jul 4, 2024
f4fa35e
8330954: since-checker - Fix remaining @ since tags in java.base
nizarbenalla Jul 4, 2024
cff9e24
8335493: check_gc_overhead_limit should reset SoftRefPolicy::_should_…
Jul 5, 2024
b9d8056
8332124: Jcmd should recognise options that look like requests for help
Jul 5, 2024
4ec1ae1
8331385: G1: Prefix HeapRegion helper classes with G1
Jul 5, 2024
6409ec3
8335711: G1: Remove unused bot_updates argument in G1AllocRegion cons…
albertnetymk Jul 5, 2024
bdf470b
8335742: Problemlist gc/g1/TestMixedGCLiveThreshold.java#25percent wi…
Jul 5, 2024
c8acea8
8335706: G1: Remove unused G1ConcurrentRefine::RemSetSamplingClosure:…
Jul 5, 2024
194425d
8335645: j.u.Formatter#trailingZeros improved with String repeat
wenshao Jul 5, 2024
ff49f67
8335775: Remove extraneous 's' in comment of rawmonitor.cpp test file
jerboaa Jul 5, 2024
7efe160
8335730: JFR: Clean up jdk.jfr
egahlin Jul 5, 2024
b83766e
8335632: jdk/jfr/api/consumer/streaming/TestJVMExit.java failed with …
egahlin Jul 5, 2024
6f7f0f1
8333884: MemorySegment::reinterpret removes read-only property
minborg Jul 6, 2024
3f37c57
8335806: RISC-V: Corrected typos Bizarrely
Jul 8, 2024
02956ab
8332163: C2 SuperWord: refactor PacksetGraph and SuperWord::output in…
eme64 Jul 8, 2024
55fd1ed
8333890: Fatal error in auto-vectorizer with float16 kernel.
Jul 8, 2024
3cce31a
8335643: serviceability/dcmd/vm tests fail for ZGC after JDK-8322475
tstuefe Jul 8, 2024
540188f
8334445: Parallel: Decouple maximum compaction from SoftReference cle…
albertnetymk Jul 8, 2024
c5a668b
8334231: Optimize MethodData layout
Jul 8, 2024
c34a1b7
8335861: Problem list compiler/vectorization/TestFloat16VectorConvCha…
TobiHartmann Jul 8, 2024
953c35e
8335824: Test gc/arguments/TestMinInitialErgonomics.java is timing out
Jul 8, 2024
cec222e
8317611: Add a tool like jdeprscan to find usage of restricted methods
JornVernee Jul 8, 2024
be3676f
8304484: CDS dynamic dumping incorrectly leads to "Error occurred dur…
Jul 8, 2024
d8c1c6a
8335604: Serial: Inline Generation::contiguous_available
albertnetymk Jul 8, 2024
a9b7f42
8333826: Update --release 23 symbol information for JDK 23 build 29
jddarcy Jul 8, 2024
284671a
8335449: runtime/cds/DeterministicDump.java fails with File content d…
calvinccheung Jul 8, 2024
3a87eb5
8335126: Shenandoah: Improve OOM handling
kdnilsen Jul 8, 2024
3733fe3
8335789: [TESTBUG] XparColor.java test fails with Error. Parse Except…
lawrence-andrew Jul 8, 2024
babf6df
8334757: AssertionError: Missing type variable in where clause
cushon Jul 8, 2024
bb1f8a1
8335904: Fix invalid comment in ShenandoahLock
Jul 8, 2024
9c7a6ea
8312125: Refactor CDS enum class handling
iklam Jul 8, 2024
564a72e
8335955: JDK-8335742 wrongly used a "JDK-" prefix in the problemlist …
Jul 9, 2024
2a29647
8334777: Test javax/management/remote/mandatory/notif/NotifReconnectD…
kevinjwalls Jul 9, 2024
8f62f31
8335906: [s390x] Test Failure: GTestWrapper.java
offamitkumar Jul 9, 2024
f3ff4f7
8335882: platform/cgroup/TestSystemSettings.java fails on Alpine Linux
jerboaa Jul 9, 2024
0e0dfca
8330806: test/hotspot/jtreg/compiler/c1/TestLargeMonitorOffset.java f…
Jul 9, 2024
531a6d8
8335911: Document ccls indexer in doc/ide.md
simonis Jul 9, 2024
7e11fb7
8335688: Fix -Wzero-as-null-pointer-constant warnings from fflush cal…
Jul 9, 2024
1472124
8333364: Minor cleanup could be done in com.sun.crypto.provider
Jul 9, 2024
dcf4e0d
8335966: Remove incorrect problem listing of java/lang/instrument/Nat…
jaikiran Jul 10, 2024
b5909ca
8323242: Remove vestigial DONT_USE_REGISTER_DEFINES
jyukutyo Jul 10, 2024
a44b60c
8335778: runtime/ClassInitErrors/TestStackOverflowDuringInit.java fai…
MBaesken Jul 10, 2024
537d20a
8335766: Switch case with pattern matching and guard clause compiles …
lahodaj Jul 10, 2024
e0fb949
8335779: JFR: Hide sleep events
egahlin Jul 10, 2024
e6c5aa7
8336012: Fix usages of jtreg-reserved properties
sormuras Jul 10, 2024
fb9a227
8313909: [JVMCI] assert(cp->tag_at(index).is_unresolved_klass()) in l…
Jul 10, 2024
fb66716
8331725: ubsan: pc may not always be the entry point for a VtableStub
xmas92 Jul 10, 2024
7ab96c7
8335409: Can't allocate and retain memory from resource area in frame…
pchilano Jul 10, 2024
66db715
8335637: Add explicit non-null return value expectations to Object.to…
jddarcy Jul 10, 2024
242f113
8334481: [JVMCI] add LINK_TO_NATIVE to MethodHandleAccessProvider.Int…
Jul 10, 2024
cad68e0
8335935: Chained builders not sending transformed models to next tran…
liach Jul 10, 2024
d6c6847
8335743: jhsdb jstack cannot print some information on the waiting th…
tkiriyama Jul 11, 2024
b363de8
8335946: DTrace code snippets should be generated when DTrace flags a…
kuaiwei Jul 11, 2024
f16097c
Merge remote-tracking branch 'origin/rivos/main' into rivos/merge-jdk…
luhenry Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 6 additions & 5 deletions doc/ide.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,12 @@ <h5 id="alternative-indexers">Alternative indexers</h5>
<p>The main <code>vscode-project</code> target configures the default
C++ support in Visual Studio Code. There are also other source indexers
that can be installed, that may provide additional features. It's
currently possible to generate configuration for two such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a> and <a
href="https://github.com/Andersbakken/rtags">rtags</a>. These can be
configured by appending the name of the indexer to the make target, such
as:</p>
currently possible to generate configuration for three such indexers, <a
href="https://clang.llvm.org/extra/clangd/">clangd</a>, <a
href="https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code">ccls</a>
and <a href="https://github.com/Andersbakken/rtags">rtags</a>. These can
be configured by appending the name of the indexer to the make target,
such as:</p>
<pre class="shell"><code>make vscode-project-clangd</code></pre>
<p>Additional instructions for configuring the given indexer will be
displayed after the workspace has been generated.</p>
Expand Down
3 changes: 2 additions & 1 deletion doc/ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ choose `File -> Open Workspace...` in Visual Studio Code.
The main `vscode-project` target configures the default C++ support in Visual
Studio Code. There are also other source indexers that can be installed, that
may provide additional features. It's currently possible to generate
configuration for two such indexers, [clangd](https://clang.llvm.org/extra/clangd/)
configuration for three such indexers, [clangd](https://clang.llvm.org/extra/clangd/),
[ccls](https://github.com/MaskRay/ccls/wiki/Visual-Studio-Code)
and [rtags](https://github.com/Andersbakken/rtags). These can be configured by
appending the name of the indexer to the make target, such as:

Expand Down
9 changes: 9 additions & 0 deletions make/modules/jdk.jdeps/Launcher.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,12 @@ $(eval $(call SetupBuildLauncher, jdeprscan, \
MAIN_CLASS := com.sun.tools.jdeprscan.Main, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))

################################################################################
## Build jnativescan
################################################################################

$(eval $(call SetupBuildLauncher, jnativescan, \
MAIN_CLASS := com.sun.tools.jnativescan.Main, \
CFLAGS := -DEXPAND_CLASSPATH_WILDCARDS, \
))
2 changes: 1 addition & 1 deletion make/src/classes/build/tools/jfr/GenerateJfrFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ private static void printJfrEventControlHpp(Metadata metadata, File outputFile)
out.write(" // add named struct members also.");
out.write(" struct {");
out.write(" jfrNativeEventSetting pad[NUMBER_OF_RESERVED_EVENTS];");
for (TypeElement t : metadata.getEventsAndStructs()) {
for (TypeElement t : metadata.getEvents()) {
out.write(" jfrNativeEventSetting " + t.name + ";");
}
out.write(" } ev;");
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/aarch64/c2_MacroAssembler_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ void C2_MacroAssembler::string_compare(Register str1, Register str2,

BLOCK_COMMENT("string_compare {");

// Bizzarely, the counts are passed in bytes, regardless of whether they
// Bizarrely, the counts are passed in bytes, regardless of whether they
// are L or U strings, however the result is always in characters.
if (!str1_isL) asrw(cnt1, cnt1, 1);
if (!str2_isL) asrw(cnt2, cnt2, 1);
Expand Down
6 changes: 2 additions & 4 deletions src/hotspot/cpu/aarch64/interp_masm_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1418,8 +1418,7 @@ void InterpreterMacroAssembler::notify_method_entry() {
bind(L);
}

{
SkipIfEqual skip(this, &DTraceMethodProbes, false);
if (DTraceMethodProbes) {
get_method(c_rarg1);
call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
rthread, c_rarg1);
Expand Down Expand Up @@ -1458,8 +1457,7 @@ void InterpreterMacroAssembler::notify_method_exit(
pop(state);
}

{
SkipIfEqual skip(this, &DTraceMethodProbes, false);
if (DTraceMethodProbes) {
push(state);
get_method(c_rarg1);
call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit),
Expand Down
71 changes: 33 additions & 38 deletions src/hotspot/cpu/aarch64/sharedRuntime_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1754,11 +1754,8 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
__ set_last_Java_frame(sp, noreg, native_return, rscratch1);

Label dtrace_method_entry, dtrace_method_entry_done;
{
uint64_t offset;
__ adrp(rscratch1, ExternalAddress((address)&DTraceMethodProbes), offset);
__ ldrb(rscratch1, Address(rscratch1, offset));
__ cbnzw(rscratch1, dtrace_method_entry);
if (DTraceMethodProbes) {
__ b(dtrace_method_entry);
__ bind(dtrace_method_entry_done);
}

Expand Down Expand Up @@ -1990,11 +1987,8 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
}

Label dtrace_method_exit, dtrace_method_exit_done;
{
uint64_t offset;
__ adrp(rscratch1, ExternalAddress((address)&DTraceMethodProbes), offset);
__ ldrb(rscratch1, Address(rscratch1, offset));
__ cbnzw(rscratch1, dtrace_method_exit);
if (DTraceMethodProbes) {
__ b(dtrace_method_exit);
__ bind(dtrace_method_exit_done);
}

Expand Down Expand Up @@ -2138,37 +2132,38 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
}

// SLOW PATH dtrace support
{
__ block_comment("dtrace entry {");
__ bind(dtrace_method_entry);

// We have all of the arguments setup at this point. We must not touch any register
// argument registers at this point (what if we save/restore them there are no oop?

save_args(masm, total_c_args, c_arg, out_regs);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
rthread, c_rarg1);
restore_args(masm, total_c_args, c_arg, out_regs);
__ b(dtrace_method_entry_done);
__ block_comment("} dtrace entry");
}
if (DTraceMethodProbes) {
{
__ block_comment("dtrace entry {");
__ bind(dtrace_method_entry);

// We have all of the arguments setup at this point. We must not touch any register
// argument registers at this point (what if we save/restore them there are no oop?

save_args(masm, total_c_args, c_arg, out_regs);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
rthread, c_rarg1);
restore_args(masm, total_c_args, c_arg, out_regs);
__ b(dtrace_method_entry_done);
__ block_comment("} dtrace entry");
}

{
__ block_comment("dtrace exit {");
__ bind(dtrace_method_exit);
save_native_result(masm, ret_type, stack_slots);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit),
rthread, c_rarg1);
restore_native_result(masm, ret_type, stack_slots);
__ b(dtrace_method_exit_done);
__ block_comment("} dtrace exit");
{
__ block_comment("dtrace exit {");
__ bind(dtrace_method_exit);
save_native_result(masm, ret_type, stack_slots);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit),
rthread, c_rarg1);
restore_native_result(masm, ret_type, stack_slots);
__ b(dtrace_method_exit_done);
__ block_comment("} dtrace exit");
}
}


__ flush();

nmethod *nm = nmethod::new_native_nmethod(method,
Expand Down
3 changes: 1 addition & 2 deletions src/hotspot/cpu/aarch64/templateTable_aarch64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3648,8 +3648,7 @@ void TemplateTable::_new() {
__ store_klass_gap(r0, zr); // zero klass gap for compressed oops
__ store_klass(r0, r4); // store klass last

{
SkipIfEqual skip(_masm, &DTraceAllocProbes, false);
if (DTraceAllocProbes) {
// Trigger dtrace event for fastpath
__ push(atos); // save the return value
__ call_VM_leaf(
Expand Down
10 changes: 8 additions & 2 deletions src/hotspot/cpu/arm/c1_LIRAssembler_arm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,14 @@ void LIR_Assembler::osr_entry() {
int monitor_offset = (method()->max_locals() + 2 * (number_of_locks - 1)) * BytesPerWord;
for (int i = 0; i < number_of_locks; i++) {
int slot_offset = monitor_offset - (i * 2 * BytesPerWord);
__ ldr(R1, Address(OSR_buf, slot_offset + 0*BytesPerWord));
__ ldr(R2, Address(OSR_buf, slot_offset + 1*BytesPerWord));
if (slot_offset >= 4096 - BytesPerWord) {
__ add_slow(R2, OSR_buf, slot_offset);
__ ldr(R1, Address(R2, 0*BytesPerWord));
__ ldr(R2, Address(R2, 1*BytesPerWord));
} else {
__ ldr(R1, Address(OSR_buf, slot_offset + 0*BytesPerWord));
__ ldr(R2, Address(OSR_buf, slot_offset + 1*BytesPerWord));
}
__ str(R1, frame_map()->address_for_monitor_lock(i));
__ str(R2, frame_map()->address_for_monitor_object(i));
}
Expand Down
9 changes: 5 additions & 4 deletions src/hotspot/cpu/ppc/templateTable_ppc_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3859,10 +3859,11 @@ void TemplateTable::_new() {
__ store_klass(RallocatedObject, RinstanceKlass, Rscratch); // klass (last for cms)

// Check and trigger dtrace event.
SkipIfEqualZero::skip_to_label_if_equal_zero(_masm, Rscratch, &DTraceAllocProbes, Ldone);
__ push(atos);
__ call_VM_leaf(CAST_FROM_FN_PTR(address, static_cast<int (*)(oopDesc*)>(SharedRuntime::dtrace_object_alloc)));
__ pop(atos);
if (DTraceAllocProbes) {
__ push(atos);
__ call_VM_leaf(CAST_FROM_FN_PTR(address, static_cast<int (*)(oopDesc*)>(SharedRuntime::dtrace_object_alloc)));
__ pop(atos);
}

__ b(Ldone);
}
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/cpu/riscv/c2_MacroAssembler_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ void C2_MacroAssembler::string_compare(Register str1, Register str2,

BLOCK_COMMENT("string_compare {");

// Bizzarely, the counts are passed in bytes, regardless of whether they
// Bizarrely, the counts are passed in bytes, regardless of whether they
// are L or U strings, however the result is always in characters.
if (!str1_isL) {
sraiw(cnt1, cnt1, 1);
Expand Down
6 changes: 2 additions & 4 deletions src/hotspot/cpu/riscv/interp_masm_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1467,8 +1467,7 @@ void InterpreterMacroAssembler::notify_method_entry() {
bind(L);
}

{
SkipIfEqual skip(this, &DTraceMethodProbes, false);
if (DTraceMethodProbes) {
get_method(c_rarg1);
call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
xthread, c_rarg1);
Expand Down Expand Up @@ -1506,8 +1505,7 @@ void InterpreterMacroAssembler::notify_method_exit(
pop(state);
}

{
SkipIfEqual skip(this, &DTraceMethodProbes, false);
if (DTraceMethodProbes) {
push(state);
get_method(c_rarg1);
call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit),
Expand Down
76 changes: 33 additions & 43 deletions src/hotspot/cpu/riscv/sharedRuntime_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1638,14 +1638,8 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
__ set_last_Java_frame(sp, noreg, native_return, t0);

Label dtrace_method_entry, dtrace_method_entry_done;
{
ExternalAddress target((address)&DTraceMethodProbes);
__ relocate(target.rspec(), [&] {
int32_t offset;
__ la(t0, target.target(), offset);
__ lbu(t0, Address(t0, offset));
});
__ bnez(t0, dtrace_method_entry);
if (DTraceMethodProbes) {
__ j(dtrace_method_entry);
__ bind(dtrace_method_entry_done);
}

Expand Down Expand Up @@ -1861,14 +1855,8 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
}

Label dtrace_method_exit, dtrace_method_exit_done;
{
ExternalAddress target((address)&DTraceMethodProbes);
__ relocate(target.rspec(), [&] {
int32_t offset;
__ la(t0, target.target(), offset);
__ lbu(t0, Address(t0, offset));
});
__ bnez(t0, dtrace_method_exit);
if (DTraceMethodProbes) {
__ j(dtrace_method_exit);
__ bind(dtrace_method_exit_done);
}

Expand Down Expand Up @@ -2009,34 +1997,36 @@ nmethod* SharedRuntime::generate_native_wrapper(MacroAssembler* masm,
}

// SLOW PATH dtrace support
{
__ block_comment("dtrace entry {");
__ bind(dtrace_method_entry);

// We have all of the arguments setup at this point. We must not touch any register
// argument registers at this point (what if we save/restore them there are no oop?

save_args(masm, total_c_args, c_arg, out_regs);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
xthread, c_rarg1);
restore_args(masm, total_c_args, c_arg, out_regs);
__ j(dtrace_method_entry_done);
__ block_comment("} dtrace entry");
}
if (DTraceMethodProbes) {
{
__ block_comment("dtrace entry {");
__ bind(dtrace_method_entry);

// We have all of the arguments setup at this point. We must not touch any register
// argument registers at this point (what if we save/restore them there are no oop?

save_args(masm, total_c_args, c_arg, out_regs);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
xthread, c_rarg1);
restore_args(masm, total_c_args, c_arg, out_regs);
__ j(dtrace_method_entry_done);
__ block_comment("} dtrace entry");
}

{
__ block_comment("dtrace exit {");
__ bind(dtrace_method_exit);
save_native_result(masm, ret_type, stack_slots);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit),
xthread, c_rarg1);
restore_native_result(masm, ret_type, stack_slots);
__ j(dtrace_method_exit_done);
__ block_comment("} dtrace exit");
{
__ block_comment("dtrace exit {");
__ bind(dtrace_method_exit);
save_native_result(masm, ret_type, stack_slots);
__ mov_metadata(c_rarg1, method());
__ call_VM_leaf(
CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_exit),
xthread, c_rarg1);
restore_native_result(masm, ret_type, stack_slots);
__ j(dtrace_method_exit_done);
__ block_comment("} dtrace exit");
}
}

__ flush();
Expand Down
3 changes: 1 addition & 2 deletions src/hotspot/cpu/riscv/templateTable_riscv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3592,8 +3592,7 @@ void TemplateTable::_new() {
__ store_klass_gap(x10, zr); // zero klass gap for compressed oops
__ store_klass(x10, x14); // store klass last

{
SkipIfEqual skip(_masm, &DTraceAllocProbes, false);
if (DTraceAllocProbes) {
// Trigger dtrace event for fastpath
__ push(atos); // save the return value
__ call_VM_leaf(CAST_FROM_FN_PTR(address, static_cast<int (*)(oopDesc*)>(SharedRuntime::dtrace_object_alloc)), x10);
Expand Down
3 changes: 1 addition & 2 deletions src/hotspot/cpu/s390/templateTable_s390.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3976,8 +3976,7 @@ void TemplateTable::_new() {
__ store_klass_gap(Rzero, RallocatedObject); // Zero klass gap for compressed oops.
__ store_klass(iklass, RallocatedObject); // Store klass last.

{
SkipIfEqual skip(_masm, &DTraceAllocProbes, false, Z_ARG5 /*scratch*/);
if (DTraceAllocProbes) {
// Trigger dtrace event for fastpath.
__ push(atos); // Save the return value.
__ call_VM_leaf(CAST_FROM_FN_PTR(address, static_cast<int (*)(oopDesc*)>(SharedRuntime::dtrace_object_alloc)), RallocatedObject);
Expand Down
6 changes: 2 additions & 4 deletions src/hotspot/cpu/x86/interp_masm_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1955,8 +1955,7 @@ void InterpreterMacroAssembler::notify_method_entry() {
bind(L);
}

{
SkipIfEqual skip(this, &DTraceMethodProbes, false, rscratch1);
if (DTraceMethodProbes) {
NOT_LP64(get_thread(rthread);)
get_method(rarg);
call_VM_leaf(CAST_FROM_FN_PTR(address, SharedRuntime::dtrace_method_entry),
Expand Down Expand Up @@ -2000,8 +1999,7 @@ void InterpreterMacroAssembler::notify_method_exit(
pop(state);
}

{
SkipIfEqual skip(this, &DTraceMethodProbes, false, rscratch1);
if (DTraceMethodProbes) {
push(state);
NOT_LP64(get_thread(rthread);)
get_method(rarg);
Expand Down
Loading