• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 8527392497
76%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2024 06:09PM UTC
Jobs 12
Files 148
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Apr 2024 06:06PM UTC coverage: 92.003% (+0.02%) from 91.984%
8527392497

push

github

web-flow
Enable sharing `JObject`s across isolates (#1060)

We use a `FinalizableHandle` which is for an entire isolate group as opposed to a `NativeFinalizer` which belongs to a single isolate. This way we can use `@pragma('vm:deeply-immutable')` on `JReference` to share the reference object between multiple isolates while the finalizable handle takes care of the global reference deletion.

The guarantees we provide:
* use-after-free will throw from Dart
* use-on-isolate-b-after-free-on-isolate-a will throw from Dart
* double-free will throw from Dart
* free-on-isolate-b-after-free-on-isolate-a will throw from Dart

In general, if we're not eagerly freeing via `.release()`, things work.

44 of 49 new or added lines in 3 files covered. (89.8%)

8836 of 9604 relevant lines covered (92.0%)

17.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
16.67
8.33% pkgs/jni/lib/src/errors.dart
2
58.73
3.37% pkgs/jni/lib/src/jni.dart
2
82.93
4.8% pkgs/jni/lib/src/jreference.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
11 jni_tests 8527392497.11 02 Apr 2024 06:09PM UTC 28
83.84
GitHub Action Run
12 jnigen_tests 8527392497.12 02 Apr 2024 06:15PM UTC 23
92.74
GitHub Action Run
10 ffigen_macos 8494319740.10 31 Mar 2024 12:35AM UTC 47
91.79
GitHub Action Run
5 native_toolchain_c_ubuntu 8421624915.5 25 Mar 2024 02:22PM UTC 18
73.51
GitHub Action Run
4 native_assets_builder_macos 8421624915.4 25 Mar 2024 02:25PM UTC 6
90.14
GitHub Action Run
6 native_toolchain_c_macos 8421624915.6 25 Mar 2024 02:24PM UTC 18
77.96
GitHub Action Run
2 native_assets_builder_ubuntu 8421624915.2 25 Mar 2024 02:23PM UTC 6
90.14
GitHub Action Run
3 native_assets_cli_ubuntu 8421624915.3 25 Mar 2024 02:22PM UTC 26
99.34
GitHub Action Run
8 native_assets_cli_macos 8421624915.8 25 Mar 2024 02:23PM UTC 26
99.34
GitHub Action Run
1 native_assets_cli_windows 8421624915.1 25 Mar 2024 02:23PM UTC 26
98.95
GitHub Action Run
9 native_assets_builder_windows 8421624915.9 25 Mar 2024 02:24PM UTC 6
90.14
GitHub Action Run
7 native_toolchain_c_windows 8421624915.7 25 Mar 2024 02:24PM UTC 18
88.49
GitHub Action Run
Source Files on build 8527392497
  • Tree
  • List 148
  • Changed 21
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8527392497
  • 179a1770 on github
  • Prev Build on main (#8504394961)
  • Next Build on main (#8551407971)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc