Skip to content

Commit 391a6b8

Browse files
cortinicofacebook-github-bot
authored andcommitted
Rollout preventShadowTreeCommitExhaustionWithLocking in experimental (#52709)
Summary: Pull Request resolved: #52709 We want to make user for folks in OSS to try `preventShadowTreeCommitExhaustionWithLocking`. Therefore I'm updating the OSS release channel for this flag to experimental. Changelog: [Internal] [Changed] - Rollout `preventShadowTreeCommitExhaustionWithLocking` in experimental Reviewed By: rubennorte Differential Revision: D78558655 fbshipit-source-id: 02a9d216c7b2f8f7bdc1340213f82b70c5692dc7
1 parent 81c2e79 commit 391a6b8

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/featureflags/ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<c8b19934d19d6b4514a0395edecb1330>>
7+
* @generated SignedSource<<93aab733661b558c1701b728c18b3d00>>
88
*/
99

1010
/**
@@ -23,5 +23,5 @@ public open class ReactNativeFeatureFlagsOverrides_RNOSS_Experimental_Android :
2323
// We could use JNI to get the defaults from C++,
2424
// but that is more expensive than just duplicating the defaults here.
2525

26-
26+
override fun preventShadowTreeCommitExhaustionWithLocking(): Boolean = true
2727
}

packages/react-native/ReactCommon/react/featureflags/ReactNativeFeatureFlagsOverridesOSSExperimental.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<1de02178e1be302bb4b19501950b260a>>
7+
* @generated SignedSource<<16c5fdf431579bbfd454a28c06f28c41>>
88
*/
99

1010
/**
@@ -27,7 +27,9 @@ class ReactNativeFeatureFlagsOverridesOSSExperimental : public ReactNativeFeatur
2727
public:
2828
ReactNativeFeatureFlagsOverridesOSSExperimental() = default;
2929

30-
30+
bool preventShadowTreeCommitExhaustionWithLocking() override {
31+
return true;
32+
}
3133
};
3234

3335
} // namespace facebook::react

packages/react-native/scripts/featureflags/ReactNativeFeatureFlags.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ const definitions: FeatureFlagDefinitions = {
545545
expectedReleaseValue: true,
546546
purpose: 'experimentation',
547547
},
548-
ossReleaseStage: 'none',
548+
ossReleaseStage: 'experimental',
549549
},
550550
releaseImageDataWhenConsumed: {
551551
defaultValue: false,

0 commit comments

Comments
 (0)