harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chunrong Lai (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5843) [drlvm][gc] class unloading is unstable
Date Fri, 01 Aug 2008 14:58:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chunrong Lai resolved HARMONY-5843.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M7


 Testing results look good. No issues are found. So I 'd like to resolve the issue and close
it.

> [drlvm][gc] class unloading is unstable
> ---------------------------------------
>
>                 Key: HARMONY-5843
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5843
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Alexey Varlamov
>            Assignee: Chunrong Lai
>             Fix For: 5.0M7
>
>         Attachments: H5843.fixed.patch
>
>
> On class-unloading scenarious, DRLVM easily hits a bunch of asserts in gc_gen. Most typical
asserts are:
>     [junit] Assertion failed: obj && obj->vt_raw, file c:\users\avarlamo\trunk\working_vm\vm\gc_gen\src\common\gc_for_class.h,
line 207
>     [junit] Assertion failed: address_belongs_to_gc_heap(addr, gc), file c:\users\avarlamo\trunk\working_vm\vm\gc_gen\src\thread\../gen/gen.h,
line 152
>     [junit] Assertion failed: vm_object_size(obj) != 0, file c:\users\avarlamo\trunk\working_vm\vm\gc_gen\src\common\gc_block.h,
line 146
> These asserts fire intermittently, may be reproduced in any mode including interpreter
and on any platform (yet on different machines a particular assert happens more often than
others).
> To reproduce, run lazy.test suite:
> working_vm$ ant lazy.test
> For convenience, there is standalone launcher org.apache.harmony.vm.test.lazyresolution.StressTest
which can vary stress load, e.g.:
> working_vm$ cd build\windows_x86_msvc_debug\tests\lazy.tests\classes
> classes$ java -cp .;junit.jar -Dlazy.test.iterations=100 -Dlazy.test.threads=10 org.apache.harmony.vm.test.lazyresolution.StressTest

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