View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003524 | SymmetricDS | Improvement | public | 2018-04-20 14:34 | 2018-05-08 20:09 |
Reporter | mmichalek | Assigned To | mmichalek | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.9.7 | ||||
Target Version | 3.9.7 | Fixed in Version | 3.9.7 | ||
Summary | 0003524: Indicate when the JVM has optimized a stack in the log | ||||
Description | In 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. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-04-20 14:34 | mmichalek | New Issue | |
2018-04-20 14:34 | mmichalek | Status | new => assigned |
2018-04-20 14:34 | mmichalek | Assigned To | => mmichalek |
2018-04-20 17: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 17:02 | mmichalek | Description Updated | View Revisions |
2018-04-20 17: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 17:05 | mmichalek | Status | assigned => resolved |
2018-04-20 17:05 | mmichalek | Resolution | open => fixed |
2018-04-20 17:05 | mmichalek | Fixed in Version | => 3.9.7 |
2018-04-20 18:00 | mmichalek | Changeset attached | => SymmetricDS 3.9 293b6732 |
2018-05-08 20:09 | mmichalek | Status | resolved => closed |