You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2007/10/09 14:15:50 UTC

[jira] Created: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

[drlvm][linux][em64t] Add runtime switch for reference compression.
-------------------------------------------------------------------

                 Key: HARMONY-4913
                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
             Project: Harmony
          Issue Type: Sub-task
          Components: DRLVM
         Environment: Linux x86-64
            Reporter: Pavel Pervov


I'll add the patch right away.

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


[jira] Assigned: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky reassigned HARMONY-4913:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>            Assignee: Gregory Shimansky
>         Attachments: H4913.patch
>
>
> I'll add the patch right away.

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


[jira] Resolved: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-4913.
----------------------------------------

    Resolution: Fixed

Patch is applied at 583417.

> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>            Assignee: Gregory Shimansky
>         Attachments: H4913.patch, H4913.patch
>
>
> I'll add the patch right away.

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


[jira] Updated: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pervov updated HARMONY-4913:
----------------------------------

    Attachment: H4913.patch

Here is the patch for this.

This patch also fixes very rare race condition in class_get_const_string_intern_addr, which is related to OOM conditions while instantiating strings and suspend_disabled state of a thread.

This patch is also fixes initialization of vtable compression data in gc_cc and gc_gen code.

> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>         Attachments: H4913.patch
>
>
> I'll add the patch right away.

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


[jira] Closed: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pervov closed HARMONY-4913.
---------------------------------


> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>            Assignee: Gregory Shimansky
>         Attachments: H4913.patch, H4913.patch
>
>
> I'll add the patch right away.

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


[jira] Updated: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pervov updated HARMONY-4913:
----------------------------------

    Attachment: H4913.patch

Here is updated patch. Fixed initialization on ia32 for both gc_cc and gc_gen.

> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>            Assignee: Gregory Shimansky
>         Attachments: H4913.patch, H4913.patch
>
>
> I'll add the patch right away.

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


[jira] Commented: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533349 ] 

Gregory Shimansky commented on HARMONY-4913:
--------------------------------------------

This patch crashes on x86 in JVMTI DRLVM tests

Stack on Linux:

    [junit]   0: gc_alloc (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/gc_gen/src/common/gc_for_class.h:210)
    [junit]   1: vm_alloc_and_report_ti(unsigned int, unsigned int, void*, Class*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/jvmti/jvmti_event.cpp:1394)
    [junit]   2: Class::allocate_instance() (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class.cpp:476)
    [junit]   3: ClassLoader::AllocateAndReportInstance(Global_Env const*, Class*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:927)
    [junit]   4: create_instance_for_class(Global_Env*, Class*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/init/vm_init.cpp:112)
    [junit]   5: bootstrap_initial_java_classes (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/init/vm_init.cpp:321)
    [junit]   6: preload_classes (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/init/vm_init.cpp:345)
    [junit]   7: vm_init1(JavaVM_Internal*, JavaVMInitArgs*) (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/init/vm_init.cpp:754)
    [junit]   8: JNI_CreateJavaVM (/nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/jni/jni.cpp:499)
    [junit]   9: invocation (../shared/main.c:668)
    [junit]  10: gpProtectedMain (../shared/main.c:389)
    [junit]  11: main (../shared/cmain.c:146)
    [junit]  12: __libc_start_main (??:-1)
    [junit]  13: _start (../sysdeps/i386/elf/start.S:105)


Stack on Windows:

    [junit] Stack trace:

    [junit]   0: vtable_get_gcvt_raw (c:\users\gashiman\harmony\trunk\working_vm\vm\gc_gen\src\common\gc_for_class.h:210)

    [junit]   1: type_has_finalizer (c:\users\gashiman\harmony\trunk\working_vm\vm\gc_gen\src\common\gc_for_class.h:306)

    [junit]   2: gc_alloc (c:\users\gashiman\harmony\trunk\working_vm\vm\gc_gen\src\thread\mutator_alloc.cpp:71)

    [junit]   3: vm_alloc_and_report_ti (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\jvmti\jvmti_event.cpp:1394)

    [junit]   4: Class::allocate_instance (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\class_support\class.cpp:478)

    [junit]   5: ClassLoader::AllocateAndReportInstance (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\class_support\classloader.cpp:927)

    [junit]   6: create_instance_for_class (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp:114)

    [junit]   7: bootstrap_initial_java_classes (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp:321)

    [junit]   8: preload_classes (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp:345)

    [junit]   9: vm_init1 (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\init\vm_init.cpp:754)

    [junit]  10: JNI_CreateJavaVM (c:\users\gashiman\harmony\trunk\working_vm\vm\vmcore\src\jni\jni.cpp:499)

    [junit]  11: invocation (c:\users\gashiman\harmony\trunk\working_classlib\modules\luni\src\main\native\launcher\shared\main.c:668)

    [junit]  12: gpProtectedMain (c:\users\gashiman\harmony\trunk\working_classlib\modules\luni\src\main\native\launcher\shared\main.c:391)

    [junit]  13: main (c:\users\gashiman\harmony\trunk\working_classlib\modules\luni\src\main\native\launcher\shared\cmain.c:146)

    [junit]  14: mainCRTStartup (f:\vs70builds\3077\vc\crtbld\crt\src\crtexe.c:3

98)

    [junit]  15: IsProcessorFeaturePresent (??:-1)

> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>            Assignee: Gregory Shimansky
>         Attachments: H4913.patch
>
>
> I'll add the patch right away.

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


[jira] Commented: (HARMONY-4913) [drlvm][linux][em64t] Add runtime switch for reference compression.

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-4913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533708 ] 

Pavel Pervov commented on HARMONY-4913:
---------------------------------------

Thanks, Gregory, the patch is applied as expected.

> [drlvm][linux][em64t] Add runtime switch for reference compression.
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4913
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Linux x86-64
>            Reporter: Pavel Pervov
>            Assignee: Gregory Shimansky
>         Attachments: H4913.patch, H4913.patch
>
>
> I'll add the patch right away.

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