3 ms·
Sorry for the bit about sarcasm, I was just really confused by some things, and said something silly and obnoxious. The native GC logging is way better than us
by hyperpape 11y ago
Sorry for the bit about sarcasm, I was just really confused by some things, and said something silly and obnoxious.
The native GC logging is way better than using log4j (which is great for logging, but abymsal in situations like this for obvious reasons...)
He's using the native GC logging. The log4j clone is application level logging, which is what originally confused me.
I see you're worried about variance, but I'm not sure a super synthetic benchmark is better. With GC measurement, you're concerned about how an actual application produces garbage--unlike writing a controlled benchmark with JMH. I'd rather see an actual Dropwizard app/servlet hit with JMeter or something like that, and enough runs to smooth the variance--the opposite of tearing out the logging.
he would have used Dtrace and probed a few application runs with appropriately placed probes.
Still confused by this. Hotspot does GC logging. How do you propose he improve on that with DTrace?