Skip to content

Commit aed324a

Browse files
committed
wireio/BasicTest test fixed
1 parent ef025d7 commit aed324a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/wireprotocol/InstrumentMethodGroupCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public void dump() {
105105

106106
// ------------------------ Debugging -------------------------
107107
public String toString() {
108-
return "InstrumentMethodGroupCommand " + ((b != null) ? b.toString() : "null"); // NOI18N
108+
return super.toString() + " " + ((b != null) ? b.toString() : "null"); // NOI18N
109109
}
110110

111111
void readObject(ObjectInputStream in) throws IOException {

visualvm/libs.profiler/lib.profiler/src/org/graalvm/visualvm/lib/jfluid/wireprotocol/RootClassLoadedCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public int[] getParentLoaderIds() {
105105

106106
// for debugging
107107
public String toString() {
108-
return "RootClassLoadedCommand, classes: " + classCount + ", " + super.toString(); // NOI18N
108+
return super.toString() + ", classes: " + classCount; // NOI18N
109109
}
110110

111111
void readObject(ObjectInputStream gin) throws IOException {
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Server start to listen on port 5140
22
received command Async message: positive, message = async message text
33
received command CLASS_LOADED, className: java.lang.String, threadInCallGraph: true, thisAndParentLoaderData: 0, 0, 0, classFileBytes: null
4-
received command ROOT_CLASS_LOADED
4+
received command ROOT_CLASS_LOADED, classes: 1
55
received command SET_UNCHANGEABLE_INSTR_PARAMS, remoteProfiling: false, absoluteTimerOn: true, threadCPUTimerOn: false, instrScheme: 0, codeRegionCPUResBufSize: 1024
66
received command METHOD_INVOKED_FIRST_TIME, methodId: 0
77
received command GET_METHOD_NAMES_FOR_JMETHOD_IDS, length: 1
88
received command METHOD_LOADED, className: java.lang.String, classLoaderId: 7, methodName: toString(), methodSignature:
99
received command EVENT_BUFFER_DUMPED, bufSize: 1024
1010
received command SET_CHANGEABLE_INSTR_PARAMS, lockContentionMonitoringEnabled: false, nProfiledThreadsLimit: 32, stackDepthLimit: 12, samplingInterval: 10, objAllocStackSamplingInterval: 5, objAllocStackSamplingDepth: 10, runGCOnGetResultsInMemoryProfiling: true, waitTrackingEnabled: true, sleepTrackingEnabled: true, threadsSamplingEnabled: true, threadsSamplingFrequency: 10
1111
received command INITIATE_PROFILING, instrType = 0
12-
received command InstrumentMethodGroupCommand 1 classes.
12+
received command INSTRUMENT_METHOD_GROUP 1 classes.
1313
received command GET_DEFINING_CLASSLOADER, className: java.lang.String, classLoaderId: 1

visualvm/libs.profiler/lib.profiler/test/qa-functional/src/org/graalvm/visualvm/lib/jfluid/tests/jfluid/wireio/BasicTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static Test suite() {
5959
"testComplexResponse",
6060
"testSimpleCommands",
6161
"testSimpleResponse",
62-
"testUnknownSimpleCommand").enableModules(".*").clusters(".*").gui(false));
62+
"testUnknownSimpleCommand").enableModules(".*").clusters(".*").honorAutoloadEager(true).gui(false));
6363
}
6464

6565
protected void tearDown() throws Exception {

0 commit comments

Comments
 (0)