harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tingpeng wu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3818) [drlvm][gc_gen] missing verbose logging support
Date Sat, 18 Aug 2007 04:34:30 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520814
] 

tingpeng wu commented on HARMONY-3818:
--------------------------------------

Desciption of verbose implementation in GC_Gen is as follows:
GC_Gen define four categories which are gc.collect, gc.space, gc.process and gc.base.
(1)  Category gc.space has two level's info. INFO level outputs heap layout info (every space's
commit size and free size) and heap adaption info after collection; 
TRACE level outputs each space's collection detail info after collection (collection algo,
surviving obj num, size, ratio).
(2) Category gc.collect has also two level's info. INFO level outputs collection's basic info
after collection (collection num, collection cause, collection kind, collection time, mutator
time);
TRACE level outputs each collector's info when collection (such as mark obj num, mark obj
size, move obj num, move obj size).
(3) Category gc.process outputs info related with "current processing phase".
(4) Category gc.base outputs info related with gc_init and gc_wrapup now, and it would be
used to output some more basic info in the future.


GC_Gen verbose usage:
-Xverbose:gc                           output all category's infomation of INFO level
-Xtrace:gc                                 output all category's information of TRACE level
-Xverbose:gc.collect, ...         output INFO level infomation of specified category, option
can be gc.collect, gc.space, gc.process, gc.base
-Xverbose:gc.collect, ...         output TRACE level infomation of specified category 

Since command -verbose:gc only set the level of category of gc.verbose to INFO level and gc_gen
doesn't have gc.verbose category, no info will be output. 

> [drlvm][gc_gen] missing verbose logging support
> -----------------------------------------------
>
>                 Key: HARMONY-3818
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3818
>             Project: Harmony
>          Issue Type: Wish
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Assignee: Xiao-Feng Li
>            Priority: Trivial
>         Attachments: 01_gc_gen_verbose.patch
>
>
> The gc_gen does not support verbose GC logging (turned on by -verbose:gc). 
> Compare to gc_cc, which produces the following output:
> >sh build.sh -DBUILD_CFG=release -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so -verbose:gc"
ehwa.test -Dtest.mode=jit
> ... <skipped> ...
>      [echo]         ==================================
>      [echo]         Run Eclipse HelloWorld using Client mode JIT (default)
>      [echo]         ==================================
>      [echo]
>      [java] GC v4.1  (release)
>      [java] GC type = 0
>      [java] GC will use adaptive algorithm selection
>      [java] min heap size 16 mb
>      [java] max heap size 256 mb
>      [java] GC use small pages
>  
>      [java] GC COPY [0]: 8 ms, User 1409 ms, Total GC 8 ms, Total User 1409 ms, Used
2 mb
>      [java] GC COPY [1]: 7 ms, User 1084 ms, Total GC 15 ms, Total User 2494 ms, Used
2 mb
>      [java] COPY -> COMP on go transition
>      [java] GC COMPACT [2]: 11 ms, User 798 ms, Total GC 27 ms, Total User 3292 ms, Used
4 mb
>      [java] GC COPY [3]: 12 ms, User 608 ms, Total GC 39 ms, Total User 3901 ms, Used
5 mb
>      [java] GC COMPACT [4]: 29 ms, User 676 ms, Total GC 69 ms, Total User 4577 ms, Used
6 mb
>      [java] GC COMPACT [5]: 31 ms, User 373 ms, Total GC 101 ms, Total User 4951 ms,
Used 7 mb
>      [java] GC COMPACT [6]: 35 ms, User 609 ms, Total GC 136 ms, Total User 5561 ms,
Used 7 mb
>      [java] heap extended to  71 mb
>      [java] GC COMPACT [7]: 39 ms, User 555 ms, Total GC 176 ms, Total User 6116 ms,
Used 8 mb
>      [java] GC COMPACT [8]: 73 ms, User 4860 ms, Total GC 250 ms, Total User 10976 ms,
Used 13 mb
>      [java] GC COMPACT [9]: 66 ms, User 1450 ms, Total GC 316 ms, Total User 12427 ms,
Used 13 mb
>      [java] GC COMPACT [10]: 87 ms, User 1003 ms, Total GC 404 ms, Total User 13430 ms,
Used 15 mb
>      [java] GC COMPACT [11]: 105 ms, User 947 ms, Total GC 510 ms, Total User 14377 ms,
Used 19 mb
>      [java] GC FORCED [12]: 25 ms, User 45 ms, Total GC 535 ms, Total User 14422 ms,
Used 21 mb
>      [java] Testsuite: HelloAuto.CreateAndRunTest
>      [java] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.901 sec
>  
>      [java] Testcase: testHi took 6.891 sec
>      [java] GC COMPACT [13]: 82 ms, User 720 ms, Total GC 618 ms, Total User 15142 ms,
Used 15 mb
>      [java] GC FORCED [14]: 21 ms, User 189 ms, Total GC 640 ms, Total User 15332 ms,
Used 29 mb
>  
> check-ehwa-result:
>      [echo]   ***************************
>      [echo]   **** Eclipse HWA status ***
>      [echo]   ***************************
>  
>      [echo]       Client mode JIT (default) PASSED (Return code is 0)
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message