You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ya...@apache.org on 2019/04/24 03:05:20 UTC

[servicecomb-java-chassis] branch master updated (89f6ca4 -> 225823d)

This is an automated email from the ASF dual-hosted git repository.

yaohaishi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git.


    from 89f6ca4  [SCB-1260] fix: inspector online test with servlet.urlPattern cause 404
     new 62deed4  [SCB-1266] move getClassByName from ClassUtils to ReflectUtils
     new 6e29b70  [SCB-1266] hack Log4jMarkerFactory to not cache special marker
     new 316e208  [SCB-1266] fix marker leak problem in SCBEngine
     new 225823d  [SCB-1266] fix by review

The 2228 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/servicecomb/core/SCBEngine.java     |  4 +
 .../apache/servicecomb/core/tracing/ScbMarker.java | 50 +-----------
 foundations/foundation-common/pom.xml              |  8 ++
 .../foundation/common/log/AbstractMarker.java      | 27 +------
 .../common/log/LogMarkerLeakFixUtils.java          | 82 +++++++++++++++++++
 .../foundation/common/log/NoCacheLog4j2Marker.java | 61 +++++++--------
 .../common/log/NoCacheLog4jMarkerFactory.java      | 18 +++--
 .../foundation/common/log/NoCacheMarker.java       |  5 +-
 .../foundation/common/utils/ReflectUtils.java      |  9 +++
 .../common/log/TestLogMarkerLeakFixUtils.java      | 85 ++++++++++++++++++++
 .../common/log/TestNoCacheLog4jMarkerFactory.java  | 91 ++++++++++++++++++++++
 .../swagger/generator/core/utils/ClassUtils.java   |  9 +--
 12 files changed, 328 insertions(+), 121 deletions(-)
 copy core/src/main/java/org/apache/servicecomb/core/tracing/ScbMarker.java => foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/log/AbstractMarker.java (75%)
 create mode 100644 foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/log/LogMarkerLeakFixUtils.java
 copy core/src/main/java/org/apache/servicecomb/core/tracing/ScbMarker.java => foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/log/NoCacheLog4j2Marker.java (54%)
 copy core/src/main/java/org/apache/servicecomb/core/provider/consumer/ReactiveResponseExecutor.java => foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/log/NoCacheLog4jMarkerFactory.java (65%)
 copy demo/demo-schema/src/main/java/org/apache/servicecomb/demo/Generic.java => foundations/foundation-common/src/main/java/org/apache/servicecomb/foundation/common/log/NoCacheMarker.java (90%)
 create mode 100644 foundations/foundation-common/src/test/java/org/apache/servicecomb/foundation/common/log/TestLogMarkerLeakFixUtils.java
 create mode 100644 foundations/foundation-common/src/test/java/org/apache/servicecomb/foundation/common/log/TestNoCacheLog4jMarkerFactory.java