harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Leviev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3856) [drlvm][jit] Known/proven race conditions markup at vm\jitrino\src\jet\compiler.cpp (L:353-358)
Date Wed, 23 May 2007 11:30:18 GMT

     [ 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.


Mime
View raw message