Repository navigation
Migrate macOS FFM arena calls to helpers - #3287
Conversation
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis PR refactors seven macOS FFM platform implementations to use centralized ChangesmacOS FFM Arena Helper Consolidation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #3287 +/- ##
=========================================
Coverage 75.21% 75.22%
Complexity 76 76
=========================================
Files 410 410
Lines 15848 15826 -22
Branches 2525 2518 -7
=========================================
- Hits 11920 11905 -15
+ Misses 2480 2465 -15
- Partials 1448 1456 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Migrate simple try-Arena-catch-Throwable patterns in Windows FFM classes to use the centralized arena call helpers from ForeignFunctions, consistent with the Linux (#3285) and macOS (#3287) migrations. Migrated methods: - WindowsGlobalMemoryFFM.readPerfInfo() -> callInArenaOrDefault - WindowsVirtualMemoryFFM.querySwapTotalVirtMaxVirtUsed() -> callInArenaOrDefault - WindowsNetworkIfFFM.updateAttributes() -> callInArenaBooleanOrDefault - WindowsOperatingSystemFFM.getPerformanceInfoField() -> callInArenaIntOrDefault Methods requiring handle/resource closing in finally blocks are deferred for a future refactoring pass.
Summary
Testing
Summary by CodeRabbit