当前位置:   article > 正文

Arthas调试案例:Trace案例_method too large: arthas

method too large: arthas

在这里插入图片描述

trace命令中使用OGNL表达式案例

trace org.imeta.core.base.ObjectUtils formatStringValue  --skipJDKMethod false 'params[0]="1001A010000000001XSU"' 
[arthas@89]$ trace org.imeta.core.base.ObjectUtils formatStringValue  --skipJDKMethod false 'params[0]="1001A010000000001XSU"' 
Press Q or Ctrl+C to abort.
Affect(class count: 1 , method count: 2) cost in 409 ms, listenerId: 13
[arthas@89]$ trace org.imeta.core.base.ObjectUtils formatStringValue  --skipJDKMethod false 'params[0]=="1001A010000000001XSU"' 
Press Q or Ctrl+C to abort.
Affect(class count: 1 , method count: 2) cost in 409 ms, listenerId: 14
`---ts=2022-10-08 16:15:29;thread_name=http-nio-8080-exec-8;id=ff;is_daemon=true;priority=5;TCCL=iuap.yms.server.classloader.YmsParallelWebappClassLoader@de2f350
    `---[1.50431ms] org.imeta.core.base.ObjectUtils:formatStringValue() [throws Exception]
        +---[0.04% 5.42E-4ms ] java.lang.String:length() #218
        +---[0.36% 0.00546ms ] org.imeta.core.model.Property:type() #221
        +---[0.11% 0.001665ms ] org.imeta.core.model.Entity:keyAttribute() #327
        +---[0.05% 7.15E-4ms ] org.imeta.core.model.Entity:keyAttribute() #329
        +---[62.28% 0.936825ms ] org.imeta.core.base.ObjectUtils:formatStringValue() #329 [throws Exception]
        |   `---[89.32% 0.836734ms ] org.imeta.core.base.ObjectUtils:formatStringValue() [throws Exception]
        |       +---[0.06% 4.91E-4ms ] java.lang.String:length() #218
        |       +---[0.09% 7.49E-4ms ] org.imeta.core.model.Property:type() #221
        |       +---[0.07% 5.71E-4ms ] org.imeta.core.model.Property:get() #224
        |       +---[0.17% 0.001401ms ] org.imeta.core.model.DataType:isStringDateTime() #229
        |       +---[0.07% 6.23E-4ms ] org.imeta.core.model.DataType:isDateTime() #239
        |       +---[0.06% 5.32E-4ms ] org.imeta.core.model.DataType:isEnumeration() #271
        |       +---[0.07% 5.67E-4ms ] org.imeta.core.model.DataType:isBoolean() #282
        |       +---[0.06% 5.23E-4ms ] org.imeta.core.model.DataType:isDecimal() #289
        |       +---[0.09% 7.75E-4ms ] org.imeta.core.model.DataType:isNumber() #301
        |       +---[0.13% 0.001103ms ] org.imeta.core.base.ObjectUtils:isChangable() #302
        |       +---[0.09% 7.44E-4ms ] org.imeta.core.model.DataType:name() #307
        |       +---[0.07% 5.94E-4ms ] java.lang.String:equals() #307
        |       +---[0.08% 6.4E-4ms ] org.imeta.core.model.DataType:name() #309
        |       +---[0.06% 4.98E-4ms ] java.lang.String:equals() #309
        |       +---[0.07% 5.65E-4ms ] org.imeta.core.model.DataType:name() #312
        |       +---[0.07% 5.48E-4ms ] java.lang.String:equals() #312
        |       +---[37.20% 0.311272ms ] java.math.BigDecimal:<init>() #315 [throws Exception]
        |       `---throw:java.lang.NumberFormatException #553 [null]
        +---[1.06% 0.015948ms ] com.yonyou.iuap.context.InvocationInfoProxy:getTenantid() #331
        +---[0.65% 0.00974ms ] org.imeta.core.model.Entity:id() #332
        +---[0.22% 0.003294ms ] org.imeta.core.model.Entity:get() #332
        +---[1.38% 0.020821ms ] java.lang.Exception:getMessage() #332
        +---[3.54% 0.053288ms ] java.lang.String:format() #332
        +---[3.21% 0.048344ms ] org.slf4j.Logger:error() #332
        +---[0.11% 0.001583ms ] org.imeta.core.model.Entity:id() #333
        +---[0.09% 0.001386ms ] org.imeta.core.model.Entity:get() #333
        +---[2.53% 0.037992ms ] java.lang.String:format() #333
        +---[2.68% 0.040316ms ] org.imeta.core.exception.MddBusinessException:<init>() #333
        `---throw:org.imeta.core.exception.MddBusinessException #333 [s: 1001A010000000001XSU, entityid: 89bf026e-cc49-4fe7-9a7b-3e8fdcc77c1e, entityTenantId: null, user tenantId: e1yt9k10, e.getMessage: java.lang.NumberFormatException]
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/450351
推荐阅读
相关标签
  

闽ICP备14008679号