Commit Graph

497 Commits

Author SHA1 Message Date
hengyunabc
ef0e655a54 [maven-release-plugin] prepare release arthas-all-3.3.2 2020-06-01 19:42:40 +08:00
hengyunabc
5d25600da6 change package to com.taobao.arthas.agent332. #1219 2020-06-01 19:36:10 +08:00
hengyunabc
41bbedefdb EnhancerAffect save exception and print the exception message #1224 2020-06-01 19:23:23 +08:00
hengyunabc
25c5fb7e7b fix spring aop generated classes major version is 46, do not support ldc class problem. #1223 2020-06-01 17:27:41 +08:00
hengyunabc
fbdafec447 [maven-release-plugin] prepare for next development iteration 2020-05-29 20:13:50 +08:00
hengyunabc
f6ef550e97 [maven-release-plugin] prepare release arthas-all-3.3.1 2020-05-29 20:13:38 +08:00
hengyunabc
8e06b400bc add ClassLoaderAwareClassWriter to fix getCommonSuperClass ClassNotFoundException problem. #1218 2020-05-29 15:36:08 +08:00
lzc-alioo
f63aa1439f
only load xterm device, memory optimization (#1217) 2020-05-28 15:19:54 +08:00
hengyunabc
5b2479c9b7 [maven-release-plugin] prepare for next development iteration 2020-05-28 02:10:41 +08:00
hengyunabc
1f6710e380 [maven-release-plugin] prepare release arthas-all-3.3.0 2020-05-28 02:10:30 +08:00
hengyunabc
0df7e8fa8d prepare release 3.3.0 2020-05-28 02:07:36 +08:00
hengyunabc
51842f7ff1 fix redefine may throw NullPointerException problem. close #1215 2020-05-27 19:49:32 +08:00
hengyunabc
02f6401b13 add comment in arthas.properties 2020-05-27 15:15:03 +08:00
Huangxuny1
565146f837 fix monitor output problem. #1170 2020-05-27 15:10:46 +08:00
hengyunabc
fcb1136063 clean unnecessarily asm dep 2020-05-27 15:00:29 +08:00
gongdewei
02c9d30334 correct java imports 2020-05-27 11:45:16 +08:00
gongdewei
fe8aba65c5 Replace JobControllerImpl with interface JobController 2020-05-27 11:44:21 +08:00
gongdewei
898da3da02 Use custom worker group to reduce the occurrence of http api block 2020-05-27 11:44:21 +08:00
gongdewei
80ce091342 transform command: history 2020-05-27 11:43:40 +08:00
gongdewei
3bf413b9c7 add result distributors and consumer for http api 2020-05-27 11:43:40 +08:00
gongdewei
78316f340d add http api handler 2020-05-27 11:43:40 +08:00
gongdewei
c654abafed transform command: echo, version 2020-05-27 11:43:40 +08:00
gongdewei
62c47c4259 close ShellServer and SessionManager when shutdown 2020-05-27 11:43:40 +08:00
gongdewei
a318bbdabe transform command: help 2020-05-27 11:43:40 +08:00
gongdewei
33175d2f3e Extract JobListener and ResultDistributor, adapt to telnet and http api 2020-05-27 11:43:40 +08:00
gongdewei
907b5c8b0d add SessionManager 2020-05-27 11:42:27 +08:00
hengyunabc
1dd7f6c9bd profiler command support duration option. close #1197 2020-05-27 00:04:41 +08:00
hengyunabc
53a544c61f fix dump empty result when retransformClasses error #1210 2020-05-25 15:59:47 +08:00
hengyunabc
4a673a79e3 support trace/watch with exist listenerId. #1207 2020-05-25 02:04:51 +08:00
hengyunabc
b7414f899d update comment 2020-05-24 17:33:42 +08:00
hengyunabc
da90f46e43 polish 6322374d81 2020-05-24 16:54:17 +08:00
hengyunabc
c20e9f9170 fix testcase. #1184 2020-05-24 02:12:27 +08:00
hengyunabc
f66e1c9d59 fix Transformer do not register problem, when Enhancer error. #1184 2020-05-24 01:57:46 +08:00
hengyunabc
21365c7237 fix process null problem. #1184 2020-05-24 00:27:24 +08:00
hengyunabc
6322374d81 use ScheduledExecutorService instanceof timer, fix timer cancelled problem. #1184 2020-05-24 00:19:59 +08:00
lzc-alioo
0397ec6486
fix typo (#1204) 2020-05-22 18:39:33 +08:00
gongdewei
8a37821ea4
#730 print sm process failed class name (#1160) 2020-05-22 00:19:47 +08:00
gongdewei
5c01dc4307 fix issue #1187: close shell when removing session 2020-05-21 17:27:00 +08:00
hengyunabc
eb62e0dec2 EnhancerAffect print the affected method details when verbose option is true #1195 2020-05-21 03:15:42 +08:00
hengyunabc
8c18fe430d Add a global option to print verbose information #1194 2020-05-21 02:36:52 +08:00
hengyunabc
e92047cda2 print affect class/method count more clear. close #1191 2020-05-21 00:48:30 +08:00
gongdewei
6da7add4f1
Merge pull request #1152 from J-Cod3r/fix-issue-1151
fix issue 1151 管道符“|”与前后一条命令之间没有空格,不能正确识别
2020-05-20 22:29:17 +08:00
gongdewei
f636e01482 fix issue #1189, clear job reference from timer 2020-05-20 22:17:28 +08:00
hengyunabc
03cd548ca4 clean object in ObjectStack 2020-05-20 21:49:14 +08:00
hengyunabc
d25f28fd06 only save Class when enhance 2020-05-20 15:00:20 +08:00
hengyunabc
4afedf89e1 check classloader before enhance 2020-05-20 14:45:51 +08:00
hengyunabc
2f5bc476eb support classes load by bootstrap classloader 2020-05-20 13:01:34 +08:00
hengyunabc
cead701c71 Merge branch 'master' into bytekit 2020-05-20 03:28:09 +08:00
hengyunabc
1e52ea4530 switch to SpyAPI, clean Spy code 2020-05-20 02:54:12 +08:00
hengyunabc
a55b471ea7 clean code 2020-05-20 01:47:11 +08:00
hengyunabc
7d7b5460ad tt command store the real method args at enter 2020-05-20 01:41:06 +08:00
hengyunabc
6d186954c6 remove unnecessary reflect in AdviceListenerAdapter 2020-05-20 01:40:12 +08:00
hengyunabc
ee0042cfc6 remove unnecessary ClassLoader.forName 2020-05-20 00:25:49 +08:00
hengyunabc
9660ad1ea0 add testcase 2020-05-19 21:51:54 +08:00
hengyunabc
c20e97d7de use TransformerManager to manager all Transformer; Enhancer only enhance bytecode once 2020-05-19 17:30:08 +08:00
hengyunabc
f39236eb86 exclude box/unbox method when trace method 2020-05-19 16:26:52 +08:00
hengyunabc
2b740b121f clean code 2020-05-19 02:36:29 +08:00
hengyunabc
8d12bb7e0a update timer 2020-05-18 02:29:57 +08:00
hengyunabc
b7c3202246 add timmer in ArthasBootstrap 2020-05-18 01:30:45 +08:00
hengyunabc
a82e0a9eb4 better job timeout timer name 2020-05-17 22:56:41 +08:00
yangy
4cb1015983 Merge remote-tracking branch 'upstream/master' into fix-issue-1151 2020-05-16 16:59:53 +08:00
hengyunabc
360db7dfd3 support MethodInfo binding 2020-05-16 16:44:52 +08:00
shiliyu
4cb6cabba6
fix grammar issue (#1177) 2020-05-16 13:02:03 +08:00
Bo Zhang
94c3eea373
Fix grammar issue (#1176) 2020-05-15 22:37:41 +08:00
hengyunabc
9c6cfc9757 fix thread command cause application InterruptedException problem. #1175 2020-05-15 19:59:12 +08:00
hengyunabc
e3f920fc74 Enhancer support SpyAPI 2020-05-14 20:07:10 +08:00
hengyunabc
4a950140dc jad command better support unicode. #1169 2020-05-13 23:19:32 +08:00
yangy
aaca4540b1 add unsupported testcase scenario 2020-05-10 17:03:19 +08:00
yangy
79b4c9e29b add testcase 2020-05-10 15:56:06 +08:00
gongdewei
d301d98e0d #1151 fix pipe char '|' problem 2020-05-08 19:29:05 +08:00
hengyunabc
99ff54f375 upgrade asm to 8.0.1 2020-05-04 01:13:12 +08:00
hengyunabc
6b31041e33 clean dep 2020-05-03 22:50:32 +08:00
hengyunabc
e29d8d53e0 print more details when ProcessImpl error 2020-04-26 21:20:28 +08:00
hengyunabc
7d598aee0d Merge branch 'master' into bytekit 2020-04-23 21:00:43 +08:00
hengyunabc
eef89eeb55 update pom.xml 2020-04-23 21:00:37 +08:00
hengyunabc
80e1fdf4ba improve history command. close #1140 2020-04-23 17:50:09 +08:00
qxo
9689968568
Set default value for the express argument of the watch command (#1122) 2020-04-22 11:09:54 +08:00
penguin-wwy
9209ebd3c9
exit redunant loop (#1123) 2020-04-20 15:42:33 +08:00
hengyunabc
75ee8320c7 [maven-release-plugin] prepare for next development iteration 2020-04-11 23:31:28 +08:00
hengyunabc
b8c334566c [maven-release-plugin] prepare release arthas-all-3.2.0 2020-04-11 23:31:16 +08:00
hengyunabc
7c7f194dff prepare release 2020-04-11 23:25:53 +08:00
hengyunabc
f409082b22 support default method. #1105 2020-04-10 16:59:16 +08:00
hengyunabc
de29a072ac support agent premain. #1083 2020-04-10 02:59:02 +08:00
hengyunabc
ed38c6a578 update doc 2020-04-08 11:32:45 +08:00
hengyunabc
ac0cea0c06 [maven-release-plugin] prepare for next development iteration 2020-04-02 18:53:44 +08:00
hengyunabc
2b8f371d02 [maven-release-plugin] prepare release arthas-all-3.1.8 2020-04-02 18:51:46 +08:00
hengyunabc
863c7ef6b5 Upgrade async-profiler to 1.7 and support arm arch. close #1089 2020-04-02 15:27:48 +08:00
hengyunabc
c80ac4693e update logback.xml. #985 2020-03-31 23:41:20 +08:00
hengyunabc
4af87030a3 remove useless code. #985 2020-03-31 23:31:26 +08:00
hengyunabc
7332033332 remove the logger.api dependency, use repackaged logger. #985 2020-03-31 23:28:10 +08:00
hengyunabc
f89ebbf163 fix content-type problem. #1052 2020-03-27 16:42:56 +08:00
Roger3581321
4508367c06
Three minor code enhancements (#1014) 2020-03-27 11:33:20 +08:00
hengyunabc
2ff0f551b8 improve logger command error message. #1077 2020-03-27 10:43:07 +08:00
hengyunabc
8de8d26a3c add echo command. #1076 2020-03-26 20:13:37 +08:00
hengyunabc
8ccdb43975 support q to quit. close #1075 2020-03-26 20:00:08 +08:00
hengyunabc
91968f18ed dashboard command delete unused -b option. fix #1074 2020-03-26 19:58:17 +08:00
hengyunabc
16d96c9b0a move OptionsCommand to basic package 2020-03-26 16:05:04 +08:00
hengyunabc
4afddd8ab5 fix resource not close problem. close #1023 2020-02-17 13:21:13 +08:00
hengyunabc
42d695de71 fix dump -E option support. #1028 2020-02-17 02:01:57 +08:00
hengyunabc
f5f7583c98 add perfcounter command. #1029 2020-02-17 01:52:00 +08:00
hengyunabc
3da99d5ba5 support arthas.properties. #986 2020-02-14 03:34:17 +08:00
hengyunabc
4937b99d12 support ArthasEnvironment. #986 2020-02-14 02:40:08 +08:00
hengyunabc
6e39e74ce6 update index.md 2020-02-14 02:38:04 +08:00
hengyunabc
eeb579f131 print exception message, when render error. fix #994 2019-12-30 17:27:08 +08:00
hengyunabc
e4c9e6f3e5 clean code 2019-12-30 17:13:18 +08:00
hengyunabc
7d186f87f0 simplify AgentBootstrap; use long to store pid; #990 2019-12-27 19:33:17 +08:00
hengyunabc
f5270aba36 support ArthasEnvironment. #986 2019-12-27 15:11:18 +08:00
hengyunabc
ee08fa5b34 hide the shutdown command. #982 2019-12-25 19:40:55 +08:00
hengyunabc
1e6ee6d976 Merge branch 'master' of github.com:alibaba/arthas 2019-12-18 15:49:46 +08:00
pipetee
a0c33db7a8 Add tee command for pipes (#976) 2019-12-18 15:48:29 +08:00
hengyunabc
bd70d05da2 clean code 2019-12-18 15:33:24 +08:00
Robert LU
b69203f029 Naming the thread of ShellServerImpl (#967) 2019-12-09 11:47:32 +08:00
hengyunabc
19aa01b092 improve humanReadableByteCount 2019-12-05 17:35:45 +08:00
hengyunabc
25e0444ded [maven-release-plugin] prepare for next development iteration 2019-12-04 11:30:39 +08:00
hengyunabc
b4f1066dd3 [maven-release-plugin] prepare release arthas-all-3.1.7 2019-12-04 11:30:29 +08:00
hengyunabc
e0583f11ef [maven-release-plugin] prepare for next development iteration 2019-12-04 02:45:06 +08:00
hengyunabc
fd217e1160 [maven-release-plugin] prepare release arthas-all-3.1.6 2019-12-04 02:44:56 +08:00
lilizhaolilizhao
5850869843 support print fields in parent class. #435 2019-12-04 01:29:06 +08:00
hengyunabc
9f0212422d update trace command doc. #958 2019-12-04 00:56:13 +08:00
hengyunabc
be13519032 fix http port 8563 support. #955 2019-12-04 00:40:34 +08:00
hengyunabc
7a131c9a37 trace command skip jdk method by default. #958 2019-12-03 20:29:25 +08:00
hengyunabc
3892fb12c6 fix sc command render fields problem. close #956 2019-12-03 15:48:06 +08:00
hengyunabc
cc078bf5d6 move one/profiler java files to spy module, avoid load so profble. #961 2019-12-02 20:32:38 +08:00
hengyunabc
466fa406a1 fix profiler execute make jvm crash problem. close #962 2019-12-02 20:19:09 +08:00
hengyunabc
ad0a6404ba update options command doc. 2019-12-02 17:12:08 +08:00
hengyunabc
53d0976ef2 update trace command docs 2019-11-28 16:02:27 +08:00
hengyunabc
daeec7dbbc [maven-release-plugin] prepare for next development iteration 2019-11-26 02:15:29 +08:00
hengyunabc
67406df980 [maven-release-plugin] prepare release arthas-all-3.1.5 2019-11-26 02:15:19 +08:00
hengyunabc
fcc8c25ad5 improve HttpRequestHandler error log 2019-11-26 02:09:34 +08:00
hengyunabc
becb405aa8 fix arthas-output link 2019-11-25 20:45:57 +08:00
hengyunabc
0cad734c9e update ProfilerCommand 2019-11-25 03:17:14 +08:00
hengyunabc
6ca384b687 polish #942, add LongStackTest. 2019-11-21 10:37:28 +08:00
hengyunabc
24c4bcbac5 polish #942, improve stack in ThreadLocalWatch. 2019-11-20 20:53:44 +08:00
huangjIT
107da67c2d fix monitor command time stat problem(#942) 2019-11-20 20:51:38 +08:00
hengyunabc
bd6db6c85d fix typo. #923 2019-11-11 15:36:53 +08:00
hengyunabc
649fb48edb update comment. #923 2019-11-11 01:35:04 +08:00
hengyunabc
4b33cb69c3 support http and telnet in one port. #316 2019-11-10 02:48:08 +08:00
hengyunabc
0a4ff9edeb move http static resources from termd jar into core module. #924 2019-11-10 01:16:21 +08:00
hengyunabc
818d83c11c support AsyncProfiler. #923 2019-11-10 00:26:23 +08:00
hengyunabc
53ebd8a232 dump command limit option. #916 2019-11-10 00:23:45 +08:00
hengyunabc
b10bb1089b supoort http visit arthas-output directory. #921 2019-11-10 00:20:53 +08:00
hengyunabc
7ccbf12bdb support http and telnet in one port. #316 2019-11-06 11:53:54 +08:00
hengyunabc
4c4fe5fc7e fix grep command --trim-end support 2019-10-31 21:04:39 +08:00
hengyunabc
ea3e25d790 Merge branch 'master' of github.com:alibaba/arthas 2019-10-31 11:01:19 +08:00
hengyunabc
665e944fbe update docs about stop/shutdown. #838 2019-10-31 11:00:56 +08:00
James Xu
84d74dedd3 update Constants.java 2019-10-30 00:05:46 +08:00
hengyunabc
d63f970dd3 fix grep testcase. #899 2019-10-29 23:53:59 +08:00
hengyunabc
3e4299e263 add grep command doc. #899 2019-10-29 23:43:06 +08:00
hengyunabc
940f274103 polish #899 , improve grep command 2019-10-29 23:34:37 +08:00
qxo
ea96c8d0ce grep command support regexp(-e) and -n/-v/-n/-A/-B/-C #899 2019-10-29 14:46:13 +08:00
hengyunabc
b045b6fa0c polish #890, update thread command doc 2019-10-12 11:27:58 +08:00
jiangwh
0d053b361c thread command support filter by state. #890 2019-10-12 10:39:41 +08:00
hengyunabc
19d32afb38 [maven-release-plugin] prepare for next development iteration 2019-09-25 02:14:38 +08:00
hengyunabc
191a42c28d [maven-release-plugin] prepare release arthas-all-3.1.4 2019-09-25 02:14:28 +08:00
hengyunabc
fc502725c0 support stat data report. #848 2019-09-24 22:28:06 +08:00
hengyunabc
0eff92a539 improve classloader hash string. 2019-09-24 16:41:35 +08:00
hengyunabc
59d8eee0a6 fix arthas connect to tunnel server error info. close #871 2019-09-23 22:17:14 +08:00
hengyunabc
f9e698d09c fix logger command print parent ClassLoader result problem. #870 2019-09-23 22:08:50 +08:00
hengyunabc
7950027113 fix ognl error info 2019-09-23 21:19:20 +08:00
hengyunabc
053ee2044f logger command support log4j2. #865 2019-09-20 17:25:19 +08:00
hengyunabc
784ec442e5 logger command print AsyncAppender blocking info #862 2019-09-19 19:14:44 +08:00
hengyunabc
80a18282e8 update logger command help info 2019-09-19 15:23:42 +08:00
hengyunabc
5e3bb1e83d [maven-release-plugin] prepare for next development iteration 2019-09-19 00:59:02 +08:00
hengyunabc
c65a648764 [maven-release-plugin] prepare release arthas-all-3.1.3 2019-09-19 00:58:51 +08:00
slievrly
edf705b166 clean code. #814 2019-09-18 23:28:37 +08:00
hengyunabc
59df82731c fix jad problem under jdk6/7. close #851 2019-09-18 15:00:55 +08:00
hengyunabc
62ee6df396 [maven-release-plugin] prepare for next development iteration 2019-09-09 11:32:28 +08:00
hengyunabc
75faf476f0 [maven-release-plugin] prepare release arthas-all-3.1.2 2019-09-09 11:32:18 +08:00
hengyunabc
89bd23b9de add logger command. #736 2019-09-06 19:42:02 +08:00
hengyunabc
a5b86d2f41 clean code 2019-09-06 15:57:47 +08:00
hengyunabc
c2a2fbcd39 add heapdump command doc. close #837 2019-09-03 16:46:52 +08:00
hengyunabc
58e77dc6f3 add vmoption command. close #839 2019-09-03 16:32:08 +08:00
hengyunabc
5dc091d38b update SystemPropertyCommand message. 2019-09-03 16:01:51 +08:00
hengyunabc
89a61ff18b add heapdump command. #837 2019-09-02 19:40:03 +08:00
hengyunabc
fe8c8d2ebc session command support print agent id/tunnel server. #835 2019-08-30 02:25:55 +08:00
hengyunabc
79b41b44b5 fix tunnel client logger output. #835 2019-08-30 02:14:24 +08:00
hengyunabc
bde058572f arthas-boot/arthas-core support tunnel server; Configure fix pass "null" string problem; #835 2019-08-29 20:45:27 +08:00
portman xu
baf41aa59f change prompt to arthas@pid (#803) 2019-08-28 14:12:14 +08:00
hydrogen666
5d819563d3 Throw IllegalAccessException out when Configure set filed failed. (#818) 2019-08-16 15:13:42 +08:00
hengyunabc
c1c8cfc0d3 clean code in MemoryCompiler 2019-08-06 16:47:44 +08:00
James Xu
4b63aa52da clean up the code a little bit by following Uncle Bob's clean code guide (#785) 2019-07-23 10:52:56 +08:00
zhangjin
d630ba9a6f sm support classloader hash. #767 2019-07-08 15:37:26 +08:00
zhangjin
a2d27f91d4 sc sm support -c option (#766) 2019-07-05 18:38:52 +08:00
hengyunabc
c8e8374ed1 add stop command, an alias for shutdown. #707 2019-07-05 16:05:23 +08:00
hengyunabc
4edacab7c5 fix tt command cost less than 0. #746 2019-06-26 23:35:09 +08:00
hengyunabc
a5efe2546e upgrade cfr to 0.145. #753 2019-06-26 17:56:36 +08:00
netroby
54e4d0424a using cfr dependency from upstream mvn repository (#751) 2019-06-25 10:56:42 +08:00
hengyunabc
555958c608 [maven-release-plugin] prepare for next development iteration 2019-05-15 17:34:38 +08:00
hengyunabc
0f17a45633 [maven-release-plugin] prepare release arthas-all-3.1.1 2019-05-15 17:34:24 +08:00
hengyunabc
c61fd13763 save history when job complete. #9 2019-05-15 17:04:19 +08:00
hengyunabc
487742dfb0 polish #614 2019-05-14 19:50:32 +08:00
hengyunabc
21ce2dd324 dashboard command remove the useless tomcat table. #696 2019-05-14 17:09:14 +08:00
hengyunabc
b48aa0c8e1 fix job redirect cache location. #695 2019-05-14 16:10:37 +08:00
hengyunabc
a4a2d08d4d fix bg job exit problem. #694 2019-05-14 16:06:37 +08:00
hengyunabc
a3f148c587 set arthas logs directory to /tmp/logs, when user.home is not writeable. #572 2019-05-10 16:03:35 +08:00
徐志毅
2002c00e04 add mbean command (#666) 2019-05-09 19:48:19 +08:00
徐志毅
e188370099 trace line number support (#668) 2019-05-09 10:42:43 +08:00
hengyunabc
c3805d8dab redefine command log redefine info. #530 2019-05-05 19:03:16 +08:00
hengyunabc
195ea0667b fix jad commnad VerifyError when the class is created by lambda expression. #675 2019-04-30 16:08:37 +08:00
徐志毅
45dfcdcf69 jad complete method name (#667) 2019-04-28 14:44:37 +08:00