Skip to content

Commit 4b4d5b8

Browse files
committed
svm: review JCMD changes
1 parent 565a8c4 commit 4b4d5b8

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/dcmd/GCHeapDumpDCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import com.oracle.svm.core.heap.dump.HeapDumping;
3333
import com.oracle.svm.core.util.BasedOnJDKFile;
3434

35-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.hpp#L317-L343")
35+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.hpp#L262-L283")
3636
public class GCHeapDumpDCmd extends AbstractDCmd {
3737
private static final DCmdOption<String> FILENAME = new DCmdOption<>(String.class, "filename", "File path of where to put the heap dump", true, null);
3838
private static final DCmdOption<Boolean> DUMP_ALL = new DCmdOption<>(Boolean.class, "-all", "Dump all objects, including unreachable objects", false, false);

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/dcmd/ThreadDumpToFileDCmd.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
import jdk.internal.vm.ThreadDumper;
3636

37-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.hpp#L934-L958")
37+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.hpp#L757-L777")
3838
public class ThreadDumpToFileDCmd extends AbstractDCmd {
3939
private static final DCmdOption<String> FILEPATH = new DCmdOption<>(String.class, "filepath", "The file path to the output file", true, null);
4040
private static final DCmdOption<Boolean> OVERWRITE = new DCmdOption<>(Boolean.class, "-overwrite", "May overwrite existing file", false, false);
@@ -52,7 +52,7 @@ public ThreadDumpToFileDCmd() {
5252
}
5353

5454
@Override
55-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.cpp#L1110-L1161")
55+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.cpp#L1062-L1106")
5656
public String execute(DCmdArguments args) throws Throwable {
5757
String path = args.get(FILEPATH);
5858
boolean overwrite = args.get(OVERWRITE);

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/dcmd/ThreadPrintDCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import com.oracle.svm.core.DumpThreadStacksSupport;
3333
import com.oracle.svm.core.util.BasedOnJDKFile;
3434

35-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.hpp#L425-L445")
35+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.hpp#L350-L365")
3636
public class ThreadPrintDCmd extends AbstractDCmd {
3737
@Platforms(Platform.HOSTED_ONLY.class)
3838
public ThreadPrintDCmd() {

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/dcmd/VMCommandLineDCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import com.oracle.svm.core.JavaMainWrapper.JavaMainSupport;
3333
import com.oracle.svm.core.util.BasedOnJDKFile;
3434

35-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.hpp#L75-L91")
35+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.hpp#L70-L81")
3636
public class VMCommandLineDCmd extends AbstractDCmd {
3737
@Platforms(Platform.HOSTED_ONLY.class)
3838
public VMCommandLineDCmd() {

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/dcmd/VMSystemPropertiesDCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
import jdk.internal.vm.VMSupport;
3636

37-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.hpp#L94-L110")
37+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.hpp#L84-L95")
3838
public class VMSystemPropertiesDCmd extends AbstractDCmd {
3939
@Platforms(Platform.HOSTED_ONLY.class)
4040
public VMSystemPropertiesDCmd() {

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/dcmd/VMVersionDmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import com.oracle.svm.core.VM;
3333
import com.oracle.svm.core.util.BasedOnJDKFile;
3434

35-
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+18/src/hotspot/share/services/diagnosticCommand.hpp#L59-L73")
35+
@BasedOnJDKFile("https://github.com/openjdk/jdk/blob/jdk-24+27/src/hotspot/share/services/diagnosticCommand.hpp#L59-L68")
3636
public class VMVersionDmd extends AbstractDCmd {
3737
@Platforms(Platform.HOSTED_ONLY.class)
3838
public VMVersionDmd() {

0 commit comments

Comments
 (0)