harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4494) VM modification for class unloading
Date Fri, 20 Jul 2007 09:07:06 GMT

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

Pavel Pervov commented on HARMONY-4494:
---------------------------------------

(1) Rather misleading. I'd suggest to change or to add comment here.
(3) Ah, I see now.

> VM modification for class unloading
> -----------------------------------
>
>                 Key: HARMONY-4494
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4494
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: VM
>         Environment: win32
>            Reporter: Chunrong Lai
>         Attachments: classunloading.vm.diff
>
>
>  The patch is not intended for commit but only for review purpose.
>  I did them in VM side (to SVN HEAD) to test the GCv5's CU work where the references
from native heap to java heap (m_loader, m_class_handle, vtable->jIC) are enumerated as
weak roots at certain time. Then GCv5 will trace the strong roots and update the weak roots.

>  Currently the intergated version can pass smoke test, specjbb and several other benchmarks.
It also successfully unloaded the classloaders when running the test case in "Test_unloading_native_lib.zip".
>  There are two more issues:
>     (1) Attached is just an unconditional-unloading approach. Extra interfaces are needed
to achieve selective unloading.
>     (2) Some code refinements need to be done if running in 64bits environment since
GC and VM use different code conventions to compress the references. If VM use the uncompressed
"ManagedObject* vtable->jIC" as in the attachment we only need enhance GC in future.

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