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] Updated: (HARMONY-4477) Class Unloading support in DRLVM
Date Mon, 23 Jul 2007 11:43:36 GMT

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

Chunrong Lai updated HARMONY-4477:

    Attachment: classunloading.weakroots.forgcv5.diff.1

   The patch is for review purpose.
   The attchment "classunloading.prototype.diff.1" includes the diff for a prototype to perform
class unloading based on the new objects layout in design document. It includes three parts:
weakroots support for gcv5(classunloading.weakroots.forgcv5.diff.1). extra vtable/jlc tracing
in gc.(classunloading.gcv5.classtracing.diff.1).  and VM modification which is updated from

   I am writing an updated version with selective unloading support:
   (1) An command line option, gc.ignoreweakroots, to enable/disable the class unloading efforts.
If it is set to true (as default), GC will regard all weak roots as strong roots, so to disable
the class unloading.
   (2) An interface of gc_support_classunloading() to enable some heuristics. For example,
it returns false for minor collection or true for major collection. VM needs to check the
result and enumerate the related references as strong/weak roots correspondingly.
  VM could also ignore the class unloading just by enumerating the related references as strong
roots. That could be also triggered from command-line option or some heuristics. I may write
them in next step.
  Thanks for the feedback.

> Class Unloading support in DRLVM
> --------------------------------
>                 Key: HARMONY-4477
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4477
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: All
>            Reporter: Rana Dasgupta
>         Attachments: ClassUnloading.doc, classunloading.gcv5.classtracing.diff.1, classunloading.prototype.diff.1,
classunloading.weakroots.forgcv5.diff.1, Test_unloading_native_lib.zip
> This JIRA is intended as a placeholder for functional support for class unloading in
DRLVM. Remaining VM code mods, GC changes, tests, design will be submitted here.

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

View raw message