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

dart-lang / native / 8527392497 / 12 – jnigen_tests
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2024 06:23PM UTC
Files 23
Run time 2s
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.739%. Remained the same
jnigen_tests – 8527392497.12

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.

1801 of 1942 relevant lines covered (92.74%)

5.85 hits per line

Source Files on job jnigen_tests - 8527392497.12
  • Tree
  • List 23
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8527392497
  • 179a1770 on github
  • Prev Job for on main (#8504394961.12)
  • Next Job for on main (#8551407971.11)
  • 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

© 2026 Coveralls, Inc