You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2008/02/13 13:53:09 UTC

[jira] Created: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

[drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
-------------------------------------------------------------------------------------------------

                 Key: HARMONY-5504
                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
             Project: Harmony
          Issue Type: Task
          Components: DRLVM
         Environment: All
            Reporter: Gregory Shimansky
            Assignee: Gregory Shimansky


There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.

The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.

Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581306#action_12581306 ] 

Ilya Berezhniuk commented on HARMONY-5504:
------------------------------------------

I suggest closing the issue; most part of restructuring is done.
Remaining part (moving guard page operations to the Port) should be done in HARMONY-5617.


> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0010-PORT-thread-basic-implementation.txt
                0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt

'0009' and '0010' patches add transfer_to_regs() function for future use in PORT signal handlers.

Additional changes include:
apr_memory_rw_barrier is replaced with port_rw_barrier
removed unused port/src/thread/**/apr_thread_ext.c
JVMTI control transfers are switched from si_transfer_control to new transfer_to_regs() function
Current x86/x86_64 transfer control stubs in VM are slightly modified


> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Resolved: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky resolved HARMONY-5504.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0M6

It seems that all of the tasks are done in this issue. Closing it.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>             Fix For: 5.0M6
>
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky commented on HARMONY-5504:
--------------------------------------------

Patch 0009 committed at 633232.
Patch 0010 committed at 633236.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky updated HARMONY-5504:
---------------------------------------

    Attachment: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch

First patch adds new crash handler subcomponent in port, its interface and internal implementation.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0010-PORT-thread-basic-implementation.txt

Updated '0010' patch:
fixed compilation problems in '0008' and '0010' patches.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569300#action_12569300 ] 

Ilya Berezhniuk commented on HARMONY-5504:
------------------------------------------

Just for information - it can help in moving files in SVN:

'0002' moves the following files:
#       renamed: vm/port/include/lil.h -> vm/vmcore/include/lil.h
#       renamed: vm/port/include/lil_code_generator.h -> vm/vmcore/include/lil_code_generator.h
#       renamed: vm/port/include/lil_code_generator_utils.h -> vm/vmcore/include/lil_code_generator_utils.h
#       renamed: vm/port/src/lil/em64t/pim/include/lil_code_generator_em64t.h -> vm/vmcore/src/lil/em64t/include/lil_code_generator_em64t.h
#       renamed: vm/port/src/lil/em64t/pim/lil_code_generator_em64t.cpp -> vm/vmcore/src/lil/em64t/lil_code_generator_em64t.cpp
#       renamed: vm/port/src/lil/em64t/pim/m2n_em64t.cpp -> vm/vmcore/src/lil/em64t/m2n_em64t.cpp
#       renamed: vm/port/src/lil/em64t/pim/m2n_em64t_internal.h -> vm/vmcore/src/lil/em64t/m2n_em64t_internal.h
#       renamed: vm/port/src/lil/em64t/pim/stack_iterator_em64t.cpp -> vm/vmcore/src/lil/em64t/stack_iterator_em64t.cpp
#       renamed: vm/port/src/lil/ia32/pim/include/lil_code_generator_ia32.h -> vm/vmcore/src/lil/ia32/include/lil_code_generator_ia32.h
#       renamed: vm/port/src/lil/ia32/pim/lil_code_generator_ia32.cpp -> vm/vmcore/src/lil/ia32/lil_code_generator_ia32.cpp
#       renamed: vm/port/src/lil/ia32/pim/m2n_ia32.cpp -> vm/vmcore/src/lil/ia32/m2n_ia32.cpp
#       renamed: vm/port/src/lil/ia32/pim/m2n_ia32_internal.h -> vm/vmcore/src/lil/ia32/m2n_ia32_internal.h
#       renamed: vm/port/src/lil/ia32/pim/stack_iterator_ia32.cpp -> vm/vmcore/src/lil/ia32/stack_iterator_ia32.cpp
#       renamed: vm/port/src/lil/ipf/pim/include/lil_code_generator_ipf.h -> vm/vmcore/src/lil/ipf/include/lil_code_generator_ipf.h
#       renamed: vm/port/src/lil/ipf/pim/lil_code_generator_ipf.cpp -> vm/vmcore/src/lil/ipf/lil_code_generator_ipf.cpp
#       renamed: vm/port/src/lil/ipf/pim/m2n_ipf.cpp -> vm/vmcore/src/lil/ipf/m2n_ipf.cpp
#       renamed: vm/port/src/lil/ipf/pim/m2n_ipf_internal.h -> vm/vmcore/src/lil/ipf/m2n_ipf_internal.h
#       renamed: vm/port/src/lil/ipf/pim/stack_iterator_ipf.cpp -> vm/vmcore/src/lil/ipf/stack_iterator_ipf.cpp
#       renamed: vm/port/src/lil/lil.cpp -> vm/vmcore/src/lil/lil.cpp
#       renamed: vm/port/src/lil/lil_code_generator.cpp -> vm/vmcore/src/lil/lil_code_generator.cpp
#       renamed: vm/port/src/lil/lil_code_generator_utils.cpp -> vm/vmcore/src/lil/lil_code_generator_utils.cpp
#       renamed: vm/port/src/lil/pim/m2n.cpp -> vm/vmcore/src/lil/stack_iterator/m2n.cpp
#       renamed: vm/port/src/lil/pim/stack_iterator.cpp -> vm/vmcore/src/lil/stack_iterator/stack_iterator.cpp

'0005' moves the following files:
#       renamed: vm/vmcore/include/native_modules.h -> vm/port/include/native_modules.h
#       renamed: vm/vmcore/src/util/linux/native_modules.cpp -> vm/port/src/modules/linux/native_modules_os.c
#       renamed: vm/vmcore/src/util/native_modules_common.cpp -> vm/port/src/modules/native_modules.c
#       renamed: vm/vmcore/src/util/win/native_modules.cpp -> vm/port/src/modules/win/native_modules_os.c


> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky updated HARMONY-5504:
---------------------------------------

    Attachment: 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch

Added stack information header for iteration in JIT compiled stack frames from crash handler.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt
                0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt

Adding '0011' and '0012' patches.
These patches move to the portlib a part of hythread functionality, register context conversion from VM core, and significantly modifies a scheme of signals/exceptions processing.

The main change is the following.
Earlier signals/exceptions handlers pushed required arguments for C-language handlers to stack/registers, and used transfer control stub to go to the C handler. This C handler also used transfer control stub to go to the modified register context after signal/exception processing. The transfer control stub used JIT context from the stack iterator for restoring processor registers.

This patch introduces universal transfer control stub which uses Registers structure for restoring context. (The stubs are in portlib and written in assembler. It would be better to rewrite them in encoder - now VM provides executable memory for encoding.)

Another one function introduced is a function for preparing register context for calling C handlers.
This function receives variable arguments number: C-handler address to be called, Registers pointer and up to 6 C-handler arguments.
Initial register context is stored to the appropriate stack area, and registers are modified to call C handler.
Address to return from C handler is set to small assembler stub which calls transfer control stub with saved register context - so C handler returns to the interrupted code.
Additional useful feature is provided: when the first argument for C handler is the same Registers pointer as fixed argument, then C handler receives an address of Registers structure saved on the stack as a first argument. So all modifications made by C handler in these Registers will take effect after returning from C handler.


> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt

'0002' patch is updated: stack_iterator.h and m2n.h headers are moved to vmcore/include together with stack iteration implementation moved with LIL.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Closed: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky closed HARMONY-5504.
--------------------------------------


> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>             Fix For: 5.0M6
>
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky commented on HARMONY-5504:
--------------------------------------------

Patch 0004 committed at 633052.
Patch 0005 committed at 633055.
Patch 0006 committed at 633057.
Patch 0007 committed at 633059.
Patch 0008 committed at 633061.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky commented on HARMONY-5504:
--------------------------------------------

Patch 0001 was committed at 632166, 0002 and 0003 were committed at 632167.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0003-corrected-build-for-moved-LIL.txt
                0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt

Gregory,
I suggest moving onoly VM and Java independent code to port.
I also suggest moving Java or VM-dependent code away from port.

The following two patches move LIL implementation from port to VM core - it's built with VM core anyway.
The first patch is for moving/renaming files; the second one is a patch for adoption.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Gregory Shimansky commented on HARMONY-5504:
--------------------------------------------

Patch 0013 committed at 633477.

Now that all patches queue from this JIRA is integrated I suggest that we create subtasks for individual patches. The number of comments gets quite big for just one.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0006-native_modules-are-adopted-for-using-in-PORT.txt
                0005-move-moved-native_modules-from-VMCORE-to-PORT.txt
                0004-moved-register-context-structure-to-open.txt

'0004' patch moves Registers structure definition from VM core to include/open - to be accessible from port and other components.

'0005' and '0006' patches move 'native modules' implementation from VM core to port.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt

Restore processor flags from saved context correctly for both si_trasfer_control_stub and new TCS on Registers for Win / Linux / x86 / x86_64.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt, 0010-PORT-thread-basic-implementation.txt, 0011-move-Moved-files-responsible-for-context-conversion-and-C-handler-args-preparation.txt, 0012-Implemented-universal-transfer-control-stubs-in-PORT-a-part-of-hythread-was-moved-to-PORT.txt, 0013-Improved-processof-flags-setup-in-transfer-control-stubs.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Updated: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

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

Ilya Berezhniuk updated HARMONY-5504:
-------------------------------------

    Attachment: 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt

'0008' patch moves memory barriers from vmcore/src/thread/linux and vmcore/src/thread/win to PORT.

After applying the patch these two folders can be removed with their contents.

> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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


[jira] Commented: (HARMONY-5504) [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571183#action_12571183 ] 

Ilya Berezhniuk commented on HARMONY-5504:
------------------------------------------

Additional note to my set of patches:
I'm applying these patches over HARMONY-3124 and HARMONY-5541 patches applied locally.


> [drlvm][port] Restructure DRLVM's sources to extract most of platform dependent code into portlib
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5504
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5504
>             Project: Harmony
>          Issue Type: Task
>          Components: DRLVM
>         Environment: All
>            Reporter: Gregory Shimansky
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Added-standalone-crash-handler-header-and-basic-infr.patch, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0002-move-moved-LIL-files-from-PORT-to-VMCORE.txt, 0003-corrected-build-for-moved-LIL.txt, 0004-moved-register-context-structure-to-open.txt, 0005-move-moved-native_modules-from-VMCORE-to-PORT.txt, 0006-native_modules-are-adopted-for-using-in-PORT.txt, 0007-Added-frame-info-header-for-iteration-in-compiled-st.patch, 0008-VM-memory-barriers-was-moved-to-PORT-as-inline.txt, 0009-move-Renamed-apr_thread_ext.h-to-port_thread.h.txt, 0010-PORT-thread-basic-implementation.txt
>
>
> There is a code freeze, so I decided to create a working place for my patches for DLRVM's port library in JIRA.
> The goal of this task is to separate DRLVM's platform dependent code from VM sources into multiple subcategories of port library. Such platform dependent code is crash handler, stack iteration, signals/exception handlers, modules tables, NCAI safe memory access and probably some more stuff that I didn't identify yet.
> Such separation will define clear interfaces, possibly some components could be reused by other projects.

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