Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 3315:da0fffdcc453
7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty
Summary: Don't enable TraceClassUnloading whne -Xloggc is specified.
Reviewed-by: tonyp, ysr
author | johnc |
---|---|
date | Thu, 28 Apr 2011 15:29:18 -0700 |
parents | 732454aaf5cb |
children | 567c87d484a0 |
comparison
equal
deleted
inserted
replaced
3294:86ebb26bcdeb | 3315:da0fffdcc453 |
---|---|
2374 // ostream_init_log(), when called will use this filename | 2374 // ostream_init_log(), when called will use this filename |
2375 // to initialize a fileStream. | 2375 // to initialize a fileStream. |
2376 _gc_log_filename = strdup(tail); | 2376 _gc_log_filename = strdup(tail); |
2377 FLAG_SET_CMDLINE(bool, PrintGC, true); | 2377 FLAG_SET_CMDLINE(bool, PrintGC, true); |
2378 FLAG_SET_CMDLINE(bool, PrintGCTimeStamps, true); | 2378 FLAG_SET_CMDLINE(bool, PrintGCTimeStamps, true); |
2379 FLAG_SET_CMDLINE(bool, TraceClassUnloading, true); | |
2380 | 2379 |
2381 // JNI hooks | 2380 // JNI hooks |
2382 } else if (match_option(option, "-Xcheck", &tail)) { | 2381 } else if (match_option(option, "-Xcheck", &tail)) { |
2383 if (!strcmp(tail, ":jni")) { | 2382 if (!strcmp(tail, ":jni")) { |
2384 CheckJNICalls = true; | 2383 CheckJNICalls = true; |