harmony-commits mailing list archives

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

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

Salikh Zakirov commented on HARMONY-3818:
-----------------------------------------

Indeed, the output from the GC_GEN is far more verbose than would be expected from -verbose:gc.

The only numbers that are proper for a general output like '-verbose:gc' are the pause time,
mutator time, 
and the cumulative statistics about freed space, in one line per collection.
Everything else IMHO should be hidden under other -verbose:gc.something options.

besides, 'GC:' prefix is not really needed, as user can always give -Xcategory to print logging
category prefix.

Sorry for nitpicking, but please try to look at '-verbose:gc' output from the point of view
of an end user,
who is unlikely to be the specialist in GC design.

> [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