You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Leviev (JIRA)" <ji...@apache.org> on 2007/05/14 18:13:16 UTC

[jira] Created: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

[drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
-----------------------------------------------------------------------------------------------

                 Key: HARMONY-3856
                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Ilya Leviev
            Priority: Minor
         Attachments: HARMONY-3856_add_markup.patch


There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function

If it not affect correctness of execution I have marked it by special API for prevention of further alarms on this race.


""	"350"	""	"     //"
""	"351"	""	"     // Initialization done, collect statistics"
""	"352"	""	"     //"
"0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
"0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
""	"355"	""	"     //"
"0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
"0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
"0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
""	"359"	""	"     //"
""	"360"	""	"     // ~Stats"


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


[jira] Updated: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

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

Ilya Leviev updated HARMONY-3856:
---------------------------------

    Description: 

There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function

As issues related to statistic data collection and it not affect correctness of execution I mark it by special API for prevention of further alarms on this race.

""	"350"	""	"     //"
""	"351"	""	"     // Initialization done, collect statistics"
""	"352"	""	"     //"
"0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
"0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
""	"355"	""	"     //"
"0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
"0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
"0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
""	"359"	""	"     //"
""	"360"	""	"     // ~Stats"


  was:

There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function

If it not affect correctness of execution I have marked it by special API for prevention of further alarms on this race.


""	"350"	""	"     //"
""	"351"	""	"     // Initialization done, collect statistics"
""	"352"	""	"     //"
"0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
"0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
""	"355"	""	"     //"
"0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
"0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
"0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
""	"359"	""	"     //"
""	"360"	""	"     // ~Stats"



> [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3856
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Priority: Minor
>         Attachments: HARMONY-3856_add_markup.patch
>
>
> There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function
> As issues related to statistic data collection and it not affect correctness of execution I mark it by special API for prevention of further alarms on this race.
> ""	"350"	""	"     //"
> ""	"351"	""	"     // Initialization done, collect statistics"
> ""	"352"	""	"     //"
> "0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
> "0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
> ""	"355"	""	"     //"
> "0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
> "0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
> "0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
> ""	"359"	""	"     //"
> ""	"360"	""	"     // ~Stats"

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


[jira] Assigned: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

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

Alexey Varlamov reassigned HARMONY-3856:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3856
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Assignee: Alexey Varlamov
>            Priority: Minor
>         Attachments: HARMONY-3856_add_markup.patch
>
>
> There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function
> As issues related to statistic data collection and it not affect correctness of execution I mark it by special API for prevention of further alarms on this race.
> ""	"350"	""	"     //"
> ""	"351"	""	"     // Initialization done, collect statistics"
> ""	"352"	""	"     //"
> "0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
> "0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
> ""	"355"	""	"     //"
> "0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
> "0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
> "0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
> ""	"359"	""	"     //"
> ""	"360"	""	"     // ~Stats"

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


[jira] Updated: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

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

Ilya Leviev updated HARMONY-3856:
---------------------------------

    Attachment:     (was: HARMONY-3856_add_markup.patch)

> [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3856
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Priority: Minor
>         Attachments: HARMONY-3856_add_markup.patch
>
>
> There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function
> If it not affect correctness of execution I have marked it by special API for prevention of further alarms on this race.
> ""	"350"	""	"     //"
> ""	"351"	""	"     // Initialization done, collect statistics"
> ""	"352"	""	"     //"
> "0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
> "0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
> ""	"355"	""	"     //"
> "0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
> "0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
> "0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
> ""	"359"	""	"     //"
> ""	"360"	""	"     // ~Stats"

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


[jira] Updated: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

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

Ilya Leviev updated HARMONY-3856:
---------------------------------

    Attachment: HARMONY-3856_add_markup.patch

> [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3856
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Priority: Minor
>         Attachments: HARMONY-3856_add_markup.patch
>
>
> There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function
> If it not affect correctness of execution I have marked it by special API for prevention of further alarms on this race.
> ""	"350"	""	"     //"
> ""	"351"	""	"     // Initialization done, collect statistics"
> ""	"352"	""	"     //"
> "0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
> "0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
> ""	"355"	""	"     //"
> "0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
> "0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
> "0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
> ""	"359"	""	"     //"
> ""	"360"	""	"     // ~Stats"

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


[jira] Updated: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

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

Ilya Leviev updated HARMONY-3856:
---------------------------------

    Attachment: HARMONY-3856_add_markup.patch

> [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3856
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Priority: Minor
>         Attachments: HARMONY-3856_add_markup.patch
>
>
> There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function
> If it not affect correctness of execution I have marked it by special API for prevention of further alarms on this race.
> ""	"350"	""	"     //"
> ""	"351"	""	"     // Initialization done, collect statistics"
> ""	"352"	""	"     //"
> "0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
> "0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
> ""	"355"	""	"     //"
> "0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
> "0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
> "0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
> ""	"359"	""	"     //"
> ""	"360"	""	"     // ~Stats"

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


[jira] Closed: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)

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

Alexey Varlamov closed HARMONY-3856.
------------------------------------

    Resolution: Fixed

Fixed at revision: 543439

> [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3856
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3856
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Leviev
>            Assignee: Alexey Varlamov
>            Priority: Minor
>         Attachments: HARMONY-3856_add_markup.patch
>
>
> There are thread unsafe access that result in race condition that occur during concurrent execution of compile(...) function
> As issues related to statistic data collection and it not affect correctness of execution I mark it by special API for prevention of further alarms on this race.
> ""	"350"	""	"     //"
> ""	"351"	""	"     // Initialization done, collect statistics"
> ""	"352"	""	"     //"
> "0x1A4F19"	"353"	"*"	"     STATS_INC(Stats::methodsCompiled, 1);"
> "0x1A4F4E"	"354"	"*"	"     STATS_INC(Stats::methodsWOCatchHandlers, m_handlers.size() ? 0 : 1);"
> ""	"355"	""	"     //"
> "0x1A4F96"	"356"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(bc_size, m_infoBlock.get_bc_size(), meth_fname());"
> "0x1A506B"	"357"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(jstack, max_stack, meth_fname());"
> "0x1A5119"	"358"	"*"	"     STATS_MEASURE_MIN_MAX_VALUE(locals, num_locals, meth_fname());"
> ""	"359"	""	"     //"
> ""	"360"	""	"     // ~Stats"

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