Skip to content

Commit 01a5066

Browse files
author
Suwei Chen
committed
[MERGE chakra-core#2349 @suwc] OS9791203:Failfast in Tweetium and other UWA background task
Merge pull request chakra-core#2349 from suwc:build/suwc/bugfix Multi-thread race condition causes inconsistency in chakra's DynamicSourceHolder vs. WWAHost's internal mapping count. Fix by removing call to dynamic source holder from backend JIT code.
2 parents 6d27c9e + 514f6e7 commit 01a5066

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/Backend/JITTimeFunctionBody.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ JITTimeFunctionBody::InitializeJITFunctionData(
139139
jitBody->attributes = functionBody->GetAttributes();
140140
jitBody->isInstInlineCacheCount = functionBody->GetIsInstInlineCacheCount();
141141

142-
if (functionBody->GetUtf8SourceInfo()->GetCbLength() > UINT_MAX)
143-
{
144-
Js::Throw::OutOfMemory();
145-
}
146-
147142
jitBody->byteCodeCount = functionBody->GetByteCodeCount();
148143
jitBody->byteCodeInLoopCount = functionBody->GetByteCodeInLoopCount();
149144
jitBody->nonLoadByteCodeCount = functionBody->GetByteCodeWithoutLDACount();

0 commit comments

Comments
 (0)