Commit Graph

270 Commits

Author SHA1 Message Date
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
徐志毅
353d8501f3 improve timetunnel command(#631) 2019-04-28 14:24:23 +08:00
徐志毅
51c0c2ef43 fix some doc and comment (#629) 2019-04-26 17:56:59 +08:00
hengyunabc
232a3f56b4 mc command delegate additional output from the compiler. #662 2019-04-23 21:04:04 +08:00
Paul Kenneth Kent
f5f2b53e15 Add unit tests to com.taobao.arthas.core.util.StringUtils (#638) 2019-04-17 15:58:43 +08:00
徐志毅
0d0b24e689 fix class loader npe (#632) 2019-04-08 10:35:40 +08:00
徐志毅
3813ba9b08 fix method completion (#627) 2019-04-06 04:32:51 +08:00
徐志毅
85d1df4026 dump command support completion (#623) 2019-04-06 04:30:30 +08:00
徐志毅
d765640190 fix getstatic description (#625) 2019-04-06 04:28:46 +08:00
徐志毅
1869964bfd options command support complete options-name (#612) 2019-04-02 11:18:19 +08:00
xuzhiyiYoh
b265f5b141 fix CompletionAdaptor index out of bounds when the token is empty (#610) 2019-03-30 13:28:18 +08:00
lzj
6af9393a02 Fix typo (#604) (#606) 2019-03-28 17:12:53 +08:00
gongdewei
4641ec0e6d support windows unicode file path. #571 2019-03-14 20:41:10 +08:00
hengyunabc
6f990a2cf3 polish #568 2019-03-14 14:23:26 +08:00
Bo Zhang
ae67e7ed2c Apply pmd plugin and fix/ignore broken styles
This commit applies [p3c-pmd](https://github.com/alibaba/p3c) plugin/rules, and fixes/ignores all violations of piority 1 (mandatory).
2019-03-14 06:28:37 +08:00
PSXjoy
6d7f00e3d1 Fix typo (#541) 2019-03-01 21:32:02 +08:00
hengyunabc
a944f2d4b8 fix RedirectHandler NullPointerException, when save-result option is true. close #517 2019-02-18 17:44:04 +08:00
hengyunabc
c93fb9d59b redefine command check class if loaded. 2019-02-18 00:15:22 +08:00
hengyunabc
c390d5571b add tutorials link 2019-02-16 15:05:13 +08:00
hengyunabc
e861aeb3c0 [maven-release-plugin] prepare for next development iteration 2019-02-14 01:11:33 +08:00
hengyunabc
2846685ee5 [maven-release-plugin] prepare release 3.1.0 2019-02-14 01:11:22 +08:00
hengyunabc
d235ee1050 update watch command description. 2019-02-13 16:39:19 +08:00
superheizai
6a584022a0 tt command support cost time/--replay-times/--replay-interval (#498) 2019-02-13 14:02:44 +08:00
hengyunabc
b0877cc17a sm command print method with Descriptor. close #504 2019-02-13 11:35:27 +08:00
hengyunabc
2058ae4785 dashboard/watch/monitor/tt/stack/trace support press Q to exit. close #410 2019-02-09 19:03:08 +08:00
hengyunabc
ec7c5aea33 change default session timeout to 30min. close #342 2019-02-08 15:18:06 +08:00
hengyunabc
4eb0eec182 inpurtrc support home/end. close #472 2019-02-08 15:06:23 +08:00
hengyunabc
7b9b4107ad watch/monitor/trace/tt/stack support better auto completion. close #497 2019-02-08 03:02:31 +08:00
hengyunabc
9f57c2c9a6 jad support completion. #323 2019-02-08 01:47:59 +08:00
hengyunabc
349c426bd1 fix CompletionAdaptor lose chars when the last token is blank. 2019-02-08 01:43:47 +08:00
hengyunabc
a2ef539f4e sm support completion. #323 2019-02-08 01:41:25 +08:00
hengyunabc
317e9d69ad catch completion exception 2019-02-08 01:39:23 +08:00
hengyunabc
33fd06ba02 sc command support completion 2019-02-07 21:22:59 +08:00
hengyunabc
a7ee25b1f2 redefine command support completion 2019-02-07 21:21:53 +08:00
hengyunabc
79fe3a9382 improve cat/mc completion 2019-02-07 15:28:06 +08:00
hengyunabc
c4751931ce jad command support --source-only option. #496 2019-02-07 15:21:18 +08:00
hengyunabc
c18bd53ed5 dump command support output directory. #419 2019-02-07 12:50:31 +08:00
hengyunabc
895f1cb14d add cat command. close #494 2019-02-06 23:34:57 +08:00
hengyunabc
9a57b5d8f3 improve redirect. #495 2019-02-06 15:48:06 +08:00
hengyunabc
793df05b2f add pwd command. #493 2019-02-06 14:59:31 +08:00
hengyunabc
73e5f15adb remove unnecessary -p option in the redefine command. close #492 2019-02-06 01:45:41 +08:00
hengyunabc
f3561e9bc8 add mc command. #373 2019-02-06 01:33:03 +08:00
Harry Chan
4dba865995 Optimize toArray (#484)
replace toArray(new T[size]) with toArray(new T[0]) for better performance

https://shipilev.net/blog/2016/arrays-wisdom-ancients/#_conclusion
2019-01-29 10:42:02 +08:00
hengyunabc
3a27075987 update trace doc. 2019-01-25 11:44:04 +08:00
hengyunabc
e03c3ee2b1 keymap command usage more friendly. close #366 2019-01-18 19:23:31 +08:00
hengyunabc
4b98af05a9 pom.xml add relativePath 2019-01-18 16:30:58 +08:00
hengyunabc
b80698becb upgrade asm api to Opcodes.ASM7. #459 #425 2019-01-18 15:57:22 +08:00
hengyunabc
6ecc035a6d improve log 2019-01-18 15:05:51 +08:00
hengyunabc
dcf9be4732 improve log info 2019-01-18 14:58:37 +08:00
hengyunabc
3c048b639c catch asm exception in Enhancer#transform. #462 2019-01-18 14:57:40 +08:00
hengyunabc
5e31fd39f9 ObjectView support enum. close #454 2019-01-17 15:09:00 +08:00
Bruce
78816cdb4e update method of com.taobao.arthas.core.view.Ansi#bgCyan from this.fg(Color.CYAN) to this.bg(Color.CYAN) fix #427 2019-01-06 15:27:10 +08:00
Sergio Escalante
a11dabbead Removing unnecessary/unused imports
Signed-off by: Sergio Escalante sergioescala@gmail.com
2018-12-18 15:04:30 -03:00
garenchan
07d2ebd5e9 Use JavaVersionUtils to get java version. 2018-12-10 17:12:32 +08:00
hengyunabc
a598382890 update tt doc 2018-12-04 16:12:25 +08:00
hengyunabc
307e6bad5a update trace doc 2018-12-04 01:40:16 +08:00
hengyunabc
3fbbd9c1fd update trace doc 2018-12-04 01:25:12 +08:00
hengyunabc
9d35b1a436 update watch doc 2018-12-03 23:03:17 +08:00
hengyunabc
e4723bf8bf update watch doc 2018-12-03 22:30:26 +08:00
hengyunabc
e85e952896 ognl express support get private field. fix #336 2018-12-03 20:09:37 +08:00
hengyunabc
2865e0b83f update classloader doc 2018-12-03 19:04:46 +08:00
hengyunabc
61252e6edd update jad doc 2018-12-03 17:57:37 +08:00
hengyunabc
de4a0a31e6 update dump doc 2018-12-03 17:29:15 +08:00
hengyunabc
769b1bd93c update sm doc 2018-12-03 17:23:15 +08:00
hengyunabc
0153812d5e update sc doc 2018-12-03 17:18:21 +08:00
hengyunabc
ea80b6ed5c update getstatic command doc 2018-12-03 16:45:39 +08:00
hengyunabc
feced41e92 [maven-release-plugin] prepare for next development iteration 2018-11-28 21:36:52 +08:00
hengyunabc
3569e213fc [maven-release-plugin] prepare release arthas-all-3.0.5 2018-11-28 21:36:31 +08:00
hengyunabc
00aeb9ae43 add ognl command doc. #240 2018-11-28 17:59:01 +08:00
hengyunabc
41936aed83 upgrade cli to 1.0.2 to support case sensitive options. close #322 2018-11-27 20:42:20 +08:00
hengyunabc
2a90a7f5b3 clear code. fix #312 2018-11-26 10:59:41 +08:00
hengyunabc
d667bc12f0 improve history command 2018-11-26 00:48:09 +08:00
hengyunabc
744beefe0e improve help format 2018-11-26 00:16:05 +08:00
hengyunabc
361bda07ef fix long name option completion. close #318 2018-11-25 23:42:23 +08:00
hengyunabc
db78b670d6 change tt -D to --delete-all. fix #219 2018-11-25 22:05:51 +08:00
hengyunabc
ec6456c299 help command support completion 2018-11-18 23:43:49 +08:00
hengyunabc
eaae4eb72a add history command. close #298 2018-11-18 23:42:35 +08:00
hengyunabc
180ee6beb5 support history-search-forward and history-search-backward. close #307 2018-11-17 15:40:48 +08:00
hengyunabc
18cc2b0165 fix default timeout. #296 2018-11-16 16:25:12 +08:00
hengyunabc
d1aaf713bd improve jad command inner class search. #301 2018-11-16 01:09:43 +08:00
hengyunabc
e6a8e4624a jad command support classes created by lambda method. fix #305 2018-11-16 00:28:42 +08:00
hengyunabc
5b52b1b9d9 fix class search for which classes created by lambda method. #302 2018-11-16 00:25:33 +08:00
hengyunabc
775b342ab3 fix jad command do not match inner class. close #301 2018-11-14 18:45:46 +08:00
hengyunabc
755c527d3b fix typo 2018-11-14 18:38:22 +08:00
hengyunabc
1a42377a98 support session timeout config. #296 2018-11-12 19:42:40 +08:00
hengyunabc
551432da0a add common module 2018-11-09 15:57:03 +08:00
hengyunabc
137bece9d0 add sysenv command. close #288 2018-11-09 00:40:52 +08:00
hengyunabc
326cd2fe9a allow skip bind telnet port or http port. fix #284 2018-11-07 17:31:50 +08:00
hengyunabc
82dc3b1922 add ognl command. #240 2018-10-22 15:46:58 +08:00
hengyunabc
6e98cd99fd fix #256 CustomClassResolver multiple threads problem. 2018-10-22 14:48:51 +08:00
hengyunabc
65fc3bf583 classloader command support load class. #246 2018-10-18 19:46:13 +08:00
hengyunabc
13684c5718 improve SearchClassCommand. #234 2018-10-18 17:55:33 +08:00
hengyunabc
f95447a493 rename getstatic code to hashCode 2018-10-18 16:30:59 +08:00
hengyunabc
3442f3d95c rename ExpressFactory.newExpress to ExpressFactory.threadLocalExpress 2018-10-18 15:32:19 +08:00
hengyunabc
734e5b547e add maven-jdk-tools-wrapper to support tools.jar. fix #243 2018-10-17 18:40:01 +08:00
hengyunabc
03dcb8d677
Merge pull request #234 from Hearen/sort-matched-classes
sort sc command ouput
2018-10-17 16:42:16 +08:00
LHearen
0757b410bd make it easier to locate the class from so many matched 2018-10-17 16:24:36 +08:00
hengyunabc
3de9456501
Merge pull request #227 from Hearen/adding-time-cost-for-invoking-in-watch
adding time cost for watching methods
2018-10-15 11:14:01 +08:00
Hearen
79714b8d38 adding time cost for watching methods 2018-10-13 11:10:38 +08:00
hengyunabc
cad02446bb remove LocalDebugTest. fix #196 2018-10-12 10:44:45 +08:00
hengyunabc
61a56cd8c8
Merge branch 'master' into fix-timestamp 2018-10-11 18:40:03 +08:00
LHearen
3a086fddf3 welcome timestamp replace with readable date time 2018-10-11 14:29:48 +08:00
Hearen
21640a27f7 fix some typos in error prompts 2018-10-10 23:07:05 +08:00
Brijesh Prasad
dbcde9fe42 Test case for DateUtils (#195) 2018-10-09 13:45:47 +08:00
earayu
b7225b53ae add test for FileUtils 2018-10-08 19:44:18 +08:00
ufukoz
b267a234d3 Add tests for a couple of methods of TypeRenderUtils 2018-10-05 15:27:44 +03:00
hengyunabc
da4f2172da fix ObjectViewTest TimeZone problem. 2018-09-30 17:39:50 +08:00
hengyunabc
86d1d4bfb7 improve get pid logic 2018-09-30 15:20:41 +08:00
earayu
d8b843f1c6 bugfix 2018-09-27 14:59:41 +08:00
Huxing Zhang
e3ce4e7e51
Bugfix wildcardmatcher 2018-09-23 14:25:00 +08:00
Huxing Zhang
462be5bca2
IPUtils.java: comments and some minimum refactor 2018-09-23 14:22:19 +08:00
earayu
f590986744 1. add some comments
2. do some minimum refactor
2018-09-22 18:19:28 +08:00
earayu
e3567e2317 unit test for WildcardMatcher 2018-09-22 16:52:51 +08:00
earayu
9237e9b32a #135
1. change the param's name, from 'string' to 'target'
2. get rid of the magic value of: * ? \
3. bugfix: return false if the pattern or target is NULL
2018-09-22 16:44:45 +08:00
Huxing Zhang
2d6f9c6b01
Add file descriptor info. 2018-09-22 16:11:42 +08:00
earayu
700c0cb441 unit test & comments 2018-09-21 19:41:52 +08:00
hengyunabc
a6a0101d75 remove the code that replaces 127.0.0.1 with 0.0.0.0. fix #131 2018-09-21 17:17:17 +08:00
earayu
e737ac5d71 issue #112 & issue #113
add ArthasCheckUtils test case & translation
2018-09-21 14:02:43 +08:00
bohr.qiu
d28c9d4def add jvm command display file descriptor count 2018-09-21 12:06:52 +08:00
姑胥
d162e673ee add ArrayUtils test case 2018-09-21 11:37:12 +08:00
bohr.qiu
7fd17685ea add humanReadableByteCount test case 2018-09-21 01:11:55 +08:00
bohr.qiu
af45b299a4 jvm命令中LIVE-COUNT命名有问题,应该是PEAK-COUNT,并增加DEADLOCK-COUNT 2018-09-20 15:23:04 +08:00
bohr.qiu
14a8332d93 增加memory 可读性 2018-09-20 15:00:53 +08:00
hengyunabc
3221e44304 remove java.util.concurrent.ThreadLocalRandom to keep compatible with jdk6. #28 2018-09-19 17:14:56 +08:00
Huxing Zhang
9d91350bbe
Remove unused script. Fix #62 2018-09-19 09:27:07 +08:00
BlueT
80a30351d3 add:local debug test 2018-09-18 00:11:33 +08:00
Huxing Zhang
f4bc64eef9
Fix unit test failure. 2018-09-17 23:24:50 +08:00
BlueT
504ee08eda fix:#42 2018-09-17 23:14:59 +08:00