Skip to content

Commit ddb77af

Browse files
committed
v1
1 parent 23ba736 commit ddb77af

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ddprof-lib/src/main/cpp/profiler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,8 @@ Engine *Profiler::selectWallEngine(Arguments &args) {
12221222
}
12231223
}
12241224
switch (args._wallclock_sampler) {
1225-
case JVMTI: assert(false);
1225+
case JVMTI:
1226+
fprintf(stderr, "[ddprof] [WARN] JVMTI wallclock is not available on this JVM, fallback to ASGCT wallclock");
12261227
case ASGCT:
12271228
default:
12281229
return (Engine*)&wall_asgct_engine;

0 commit comments

Comments
 (0)