|
Spec-Zone .ru
спецификации, руководства, описания, API
|
jhat [ options ] <heap-dump-file>
- options
- ?????????????????????????????????????????????????????????????????????????????????????????????
- heap-dump-file
- ??????????????????????????? Java ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????foo.hprof#3??????????????????????????????????????????#<number>??????????????????????????????????????????????????????????????????????????????????????????
??????
jhat ??????????????????java ?????????????????????????????????????????????Web ????????????????????????????????? jhat ??????????????????????????? Web ???????????????????????????????????????????????????????????????????????? jhat ????????????????????????????????????Foo??????????????????????????????????????????????????????????????????????????????????????????????????????????????????OQL (Object Query Language) ???????????????????????????OQL ?????????????????????jhat ??????????????????????????? OQL ???????????????????????????????????????????????????????????????????????????????????????????????????OQL ??????????????? http://localhost:7000/oqlhelp/ ????????????????????????
Java ????????????????????????????????????????????????????????????????????????????????????
- jmap ??? -dump ???????????????????????????????????????????????????????????????????????????
- jconsole ?????????????????????????????? HotSpotDiagnosticMXBean ?????????????????????????????????????????????????????????
- -XX:+HeapDumpOnOutOfMemoryError VM ????????????????????????????????????OutOfMemoryError ?????????????????????????????????????????????????????????
- ??????????????????
???: ????????????????????????????????????????????????????????? JDK ???????????????????????????????????????????????????????????????????????????
???????????????
- -stack false/true
- ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? false ????????????????????????????????????????????????????????? true ?????????
- -refs false/true
- ????????????????????????????????????????????????????????????????????????????????? true ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????? (????????????????????????????????????????????????????????????????????????????????? ????????????????????????????????????????????????) ????????????????????????
- -port port-number
- jhat ??? HTTP ??????????????????????????????????????????????????????????????? 7000 ?????????
- -exclude exclude-file
- ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? java.lang.String.value ????????????????????????????????????????????????????????????o??????????????????????????????????????????????????????????????????????????????java.lang.String.value ??????????????????????????????????????????????????????????????????????????????
- -baseline baseline-dump-file
- ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ID ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? 2 ???????????????????????????????????????????????????????????????
- -debug int
- ????????????????????????????????????????????????????????????0 ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
- -version
- ???????????????????????????????????????????????????????????????
- -h
- ?????????????????????????????????????????????????????????
- -help
- ?????????????????????????????????????????????????????????
- -J<flag>
- jhat ???????????????????????? Java ?????????????????? <flag> ?????????????????????????????????512M ????????????????????????????????????????????????????????????-J-Xmx512m ???????????????
????????????
We welcome your participation in our community. Please keep your comments civil and on point. You may optionally provide your email address to be notified of replies — your information is not used for any other purpose. By submitting a comment, you agree to these .