You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Ignatenko (JIRA)" <ji...@apache.org> on 2006/10/30 06:25:16 UTC

[jira] Created: (HARMONY-2000) Class unloading support

Class unloading support
-----------------------

                 Key: HARMONY-2000
                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
             Project: Harmony
          Issue Type: New Feature
          Components: DRLVM
         Environment: IA32 system only (no compressed mode support yet), gcv4.
            Reporter: Aleksey Ignatenko


DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12446863 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

I have updated 2 latest patches to the commitable state:
1. cleaning native resources (native_sources_cleanup_upd.patch). 
2. automatic unloading design implementation (auto_unloading_upd.patch). 

Please, use native_sources_cleanup_upd.patch and auto_unloading_upd.patch.


> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: native_sources_cleanup.patch

Native resource cleanup. this functionality does not depend on class unloading. It is about Jitted code, GC related data, etc deallocation with appropriate classloader. The patch was tested with automatic class unloading implementation. 

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12448684 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

cleanup_sources_1558_merged.patch - latest patch of resource cleanup merged with 1558 jira. 
em64t is broken in some places now, so I coud not check it. 

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, cleanup_sources_1558_merged.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12445515 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

There is gcv4.1 GC by default now, to run class unloading scenario one needs to use gcv4. To do that follow the instruction below:
1. copy gcv4.xml from the attachment to build/make/components/gcv4.xml.
2. run build.bat -DCOMPONENTS=vm.gcv4
3. copy  gcv4.dll from .../semis/vm/gcv4/_bin/gcv4.dll to .../deploy/jre/bin/default
4. run java with key  -Dvm.dlls=gcv4

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch, gc_pinned_alloc_implemented.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: gc_pinned_alloc_implemented.patch

Moved VTable object allocation to gc_alloc_pinned to avoid fragmentation. This feature should be used in the final version of class unloading, because currently not all gc support this fuctionality.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch, gc_pinned_alloc_implemented.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2000) Class unloading support

Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

weldon washburn reassigned HARMONY-2000:
----------------------------------------

    Assignee: weldon washburn

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Ivan Volosyuk updated HARMONY-2000:
-----------------------------------

    Attachment: jvmti_iterate_workaround.diff

To build GC v4.1 with class unloading support you need to apply:
 1. JIRA HARMONY-1810: gcv41_heap_iteration2.diff
 2. JIRA HARMONY-1935: gcv41_pinned_alloc_support2.diff
 3. Patch in this JIRA: gcv41_class_unloading.diff

JIRA 1810 relies on heap iteration support in VM (as in HARMONY-1635). If you don't want to apply that JIRA use the workaround in patch jvmti_iterate_workaround.diff in this JIRA.

To enable class unloading support in VM and GCv4 see instructions above.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: gcv4.xml

gcv4.xml attached to run java on gcv4

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch, gc_pinned_alloc_implemented.patch, gcv4.xml
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: Test_unloading_native_lib.zip

Class unloading test. This test is drlvm specific. It relies on the following statement:
When class with native method is unloaded corresponding native library is unloaded too. This test is based on that class unloading happens right after GC happened, the same library is loaded in cycle. If in the previous state native library was not unloaded (no unloading happened) then UnsatisfiedLinkError happens.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12445583 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

Please use class_unloading_cvn_v3.patch (enough to run unloading) to check class unloading (+ comment about gcv4).

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12448592 ] 
            
weldon washburn commented on HARMONY-2000:
------------------------------------------

comments on native_sources_cleanup_upd.patch

1)
I glanced at this patch.  It looks like these mods should have minor impact on stability.  Its mostly cleaning up C struct malloc/free.  Please confirm.

2)
The big comment in mem_alloc.h is vague.  It would be good to make it clearer.  It starts with, "
+// PoolManager contains 2 lists of PoolDescriptors (memory chunks):
+// active and passive. Active chunks can be reused in future memory allocations

3)
I tried to apply this patch to current svn HEAD.  It fails on 3 or 4 files.  Please fix.



> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: cleanup_sources_1558_merged.patch

The patch is about cleaun resources merged with 1558 jira. 

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, cleanup_sources_1558_merged.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12448683 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

Weldon
1) 
>I glanced at this patch. It looks like these mods should have minor impact on stability. Its >mostly cleaning up C struct malloc/free. Please confirm. 
Yes, you are right.
2) 
>The big comment in mem_alloc.h is vague. It would be good to make it clearer. It starts >with, " 
>+// PoolManager contains 2 lists of PoolDescriptors (memory chunks): 
>+// active and passive. Active chunks can be reused in future memory allocations 
Comment changed.
3) 
>I tried to apply this patch to current svn HEAD. It fails on 3 or 4 files. Please fix. 
merged.


> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, cleanup_sources_1558_merged.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12448645 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

I'm workin on merge right now, I will put updated patch (with updated comments in mem_alloc.h) today.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: native_sources_cleanup_upd.patch

Updated native_sources_cleanup.patch. Moved a couple of changes to auto unloading patch (which are not about native resources cleaning).

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-2000) Class unloading support

Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

weldon washburn closed HARMONY-2000.
------------------------------------

    Resolution: Won't Fix

see class unloading design discussions on harmony-dev.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, cleanup_sources_1558_merged.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch, Test_unloading_native_lib.zip
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: auto_unloading_upd.patch

Updatetd auto_unloading.patch. Moved some changes from native_sources_cleanup.patch to auto_unloading.patch (which are related to class unloading but not native resources cleanup).

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, auto_unloading_upd.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch, native_sources_cleanup_upd.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: class_unloading_cvn_v3_upd.patch

Updated class unloading patch (excluded merging conflict in version_svn_tag.h)

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12446592 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

Hi, I splited class_unloading_cvn_v3_upd.patch  into 2 independent parts:
1. cleaning native resources (native_sources_cleanup.patch).
2. automatic unloading design implementation (auto_unloading.patch).

Cleaning native resources (native_sources_cleanup.patch) is common for all class unloading designs and could be commited.
>From now, please, use sequence of patches native_sources_cleanup.patch, auto_unloading.patch instead of class_unloading_cvn_v3_upd.patch to run automatic unloading design implementation.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: class_unloading_cvn_v3.patch

Class unloading implementation.
1. Native memory cleanup.
2. Class unloading mechanism.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Ivan Volosyuk updated HARMONY-2000:
-----------------------------------

    Attachment: gcv41_class_unloading.diff

Implementation of class unloading support in gcv41 (approach #2)
Added VTable tracing code.
Patch relies on changes in following JIRAs:
   HARMONY-1810 : jvmti heap iteration support in gcv41 (for weak roots support)
   HARMONY-1935 : Pinned alloc support


> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12445668 ] 
            
Ivan Volosyuk commented on HARMONY-2000:
----------------------------------------

Did you check the patch on EM64T? It seems not to work for me there. In x86 it works fine.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12445584 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

Oops, sorry, run use class_unloading_cvn_v3_upd.patch.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2000?page=comments#action_12445879 ] 
            
Aleksey Ignatenko commented on HARMONY-2000:
--------------------------------------------

Compressed mode (em64t) doesn't work yet - needs debugging. 

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2000) Class unloading support

Posted by "Aleksey Ignatenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2000?page=all ]

Aleksey Ignatenko updated HARMONY-2000:
---------------------------------------

    Attachment: auto_unloading.patch

Automatic class unloading implementation. This is separate patch from native resource cleaning.

> Class unloading support
> -----------------------
>
>                 Key: HARMONY-2000
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2000
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: IA32 system only (no compressed mode support yet), gcv4.
>            Reporter: Aleksey Ignatenko
>         Assigned To: weldon washburn
>         Attachments: auto_unloading.patch, class_unloading_cvn_v3.patch, class_unloading_cvn_v3_upd.patch, gc_pinned_alloc_implemented.patch, gcv4.xml, gcv41_class_unloading.diff, jvmti_iterate_workaround.diff, native_sources_cleanup.patch
>
>
> DRLVM Class unloading support. There 2 parts in the patch: 1.  Cleaning native sources for unloaded classes. 2. Introduction of class unloading.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira