Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
D-D-H committed Jan 23, 2024
1 parent a0eb240 commit ffc7ba8
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 38 deletions.
10 changes: 0 additions & 10 deletions src/hotspot/share/jfr/dcmd/jfrDcmds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,8 @@ JfrConfigureFlightRecorderDCmd::JfrConfigureFlightRecorderDCmd(outputStream* out
_memory_size("memorysize", "Overall memory size, ", "MEMORY SIZE", false, "10m"),
_max_chunk_size("maxchunksize", "Size of an individual disk chunk", "MEMORY SIZE", false, "12m"),
_sample_threads("samplethreads", "Activate Thread sampling", "BOOLEAN", false, "true"),
<<<<<<< HEAD
_sample_object_allocations("sampleobjectallocations","object allocations sampling enable / disable", "BOOLEAN", false, "false"),
_object_allocations_sampling_interval("objectallocationssamplinginterval", "object allocations sampling interval", "JLONG", false, "1024"),
=======
>>>>>>> jdk-11.0.22+7
_verbose(true) {
_dcmdparser.add_dcmd_option(&_repository_path);
_dcmdparser.add_dcmd_option(&_dump_path);
Expand Down Expand Up @@ -664,11 +661,7 @@ void JfrConfigureFlightRecorderDCmd::execute(DCmdSource source, TRAPS) {

static const char klass[] = "jdk/jfr/internal/dcmd/DCmdConfigure";
static const char method[] = "execute";
<<<<<<< HEAD
static const char signature[] = "(ZLjava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;"
=======
static const char signature[] = "(ZLjava/lang/String;Ljava/lang/String;Ljava/lang/Integer;"
>>>>>>> jdk-11.0.22+7
"Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;Ljava/lang/Long;"
"Ljava/lang/Long;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Long;)Ljava/lang/String;";

Expand All @@ -677,10 +670,7 @@ void JfrConfigureFlightRecorderDCmd::execute(DCmdSource source, TRAPS) {

// params
execute_args.push_int(_verbose ? 1 : 0);
<<<<<<< HEAD
execute_args.push_jobject(on_vm_start);
=======
>>>>>>> jdk-11.0.22+7
execute_args.push_jobject(repository_path);
execute_args.push_jobject(dump_path);
execute_args.push_jobject(stack_depth);
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/share/jfr/dcmd/jfrDcmds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,8 @@ class JfrConfigureFlightRecorderDCmd : public DCmdWithParser {
DCmdArgument<MemorySizeArgument> _memory_size;
DCmdArgument<MemorySizeArgument> _max_chunk_size;
DCmdArgument<bool> _sample_threads;
<<<<<<< HEAD
DCmdArgument<bool> _sample_object_allocations;
DCmdArgument<jlong> _object_allocations_sampling_interval;
=======
>>>>>>> jdk-11.0.22+7
bool _verbose;

public:
Expand Down
3 changes: 0 additions & 3 deletions src/hotspot/share/jfr/recorder/service/jfrOptionSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,15 +406,12 @@ bool JfrOptionSet::configure(TRAPS) {
configure._sample_threads.set_is_set(_dcmd_sample_threads.is_set());
configure._sample_threads.set_value(_dcmd_sample_threads.value());

<<<<<<< HEAD
configure._sample_object_allocations.set_is_set(_dcmd_sampleobjectallocations.is_set());
configure._sample_object_allocations.set_value(_dcmd_sampleobjectallocations.value());

configure._object_allocations_sampling_interval.set_is_set(_dcmd_objectallocationssamplinginterval.is_set());
configure._object_allocations_sampling_interval.set_value(_dcmd_objectallocationssamplinginterval.value());

=======
>>>>>>> jdk-11.0.22+7
configure.set_verbose(false);
configure.execute(DCmd_Source_Internal, THREAD);

Expand Down
14 changes: 0 additions & 14 deletions src/jdk.jfr/share/classes/jdk/jfr/internal/dcmd/DCmdConfigure.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ final class DCmdConfigure extends AbstractDCmd {
public String execute
(
boolean verbose,
<<<<<<< HEAD
Boolean onVMStart,
=======
>>>>>>> jdk-11.0.22+7
String repositoryPath,
String dumpPath,
Integer stackDepth,
Expand Down Expand Up @@ -120,15 +117,9 @@ final class DCmdConfigure extends AbstractDCmd {
if (dumpPath != null) {
Options.setDumpPath(new SafePath(dumpPath));
Logger.log(LogTag.JFR, LogLevel.INFO, "Emergency dump path set to " + dumpPath);
<<<<<<< HEAD
if (verbose) {
printDumpPath();
}
=======
if (verbose) {
printDumpPath();
}
>>>>>>> jdk-11.0.22+7
updated = true;
}

Expand Down Expand Up @@ -218,11 +209,6 @@ final class DCmdConfigure extends AbstractDCmd {
return "";
}

=======
if (!verbose) {
return "";
}
>>>>>>> jdk-11.0.22+7
if (!updated) {
println("Current configuration:");
println();
Expand Down
8 changes: 0 additions & 8 deletions test/jdk/jdk/jfr/startupargs/TestOptionsWithLocale.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,13 @@ public static void main(String... args) {
}
}

<<<<<<< HEAD
public static void main(String... args) throws Exception {
OutputAnalyzer output = ProcessTools.executeTestJvm(
=======
public static void main(String... args) throws IOException {
ProcessBuilder pb = ProcessTools.createTestJvm(
>>>>>>> jdk-11.0.22+7
"-Duser.country=DE",
"-Duser.language=de",
"-XX:FlightRecorderOptions:stackdepth=128",
PrintDate.class.getName());
<<<<<<< HEAD
=======
OutputAnalyzer output = new OutputAnalyzer(pb.start());
>>>>>>> jdk-11.0.22+7
output.shouldContain("01.01.2020, 00:00:00");
}
}

0 comments on commit ffc7ba8

Please sign in to comment.