View Issue Details

IDProjectCategoryView StatusLast Update
0003524SymmetricDSImprovementpublic2018-05-08 16:09
ReportermmichalekAssigned Tommichalek 
Prioritynormal 
Status closedResolutionfixed 
Product Version3.9.7 
Target Version3.9.7Fixed in Version3.9.7 
Summary0003524: Indicate when the JVM has optimized a stack in the log
DescriptionIn certain situations, such as where 1000's of NullPointerExceptions get thrown (and caught), the JVM will optimize out the full stack trace of the Exception object. This is a problem for when we get back a rolling log of a system that is struggling, and all that is printed in the log is "NullPointerException". We perform our own StackTrace management in the logs (through the StackTraceKey stuff) so we are going to instruct the JVM to always allow the full stack trace for these Exception objects. When the system is churning on an error that badly, we need to fix the error and need all the info we can get. Optimizing in this situation is really not a priority.

After understanding this better as an optimization for frequent/expected exceptions, we decided instead of changing the JVM optimization we will indicate in the log that the jvm has optimized an exception. The stack trace key will contain the phrase "-jvm-optimized" in those cases.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.9 293b6732

2018-04-20 13:04:20

mmichalek

Details Diff
0003524: Indicate when the JVM has optimized a stack in the log
0003524
mod - symmetric-util/src/main/java/org/jumpmind/util/SymRollingFileAppender.java Diff File

Issue History

Date Modified Username Field Change
2018-04-20 10:34 mmichalek New Issue
2018-04-20 10:34 mmichalek Status new => assigned
2018-04-20 10:34 mmichalek Assigned To => mmichalek
2018-04-20 13:02 mmichalek Summary Instruct JVM to NOT optimize stack traces (-XX:-OmitStackTraceInFastThrow) => Indicate when the JVM has optimized a strack in the log
2018-04-20 13:02 mmichalek Description Updated View Revisions
2018-04-20 13:04 mmichalek Summary Indicate when the JVM has optimized a strack in the log => Indicate when the JVM has optimized a stack in the log
2018-04-20 13:05 mmichalek Status assigned => resolved
2018-04-20 13:05 mmichalek Resolution open => fixed
2018-04-20 13:05 mmichalek Fixed in Version => 3.9.7
2018-04-20 14:00 mmichalek Changeset attached => SymmetricDS 3.9 293b6732
2018-05-08 16:09 mmichalek Status resolved => closed