Tag

JavaScriptCore

0 views collected around this technical thread.

Kuaishou Tech
Kuaishou Tech
Sep 10, 2021 · Mobile Development

Analyzing and Resolving a Main Thread ↔ JavaScriptCore Heap Collector Thread Deadlock on iOS 13

This article investigates a deadlock between the Main Thread and the JavaScriptCore Heap Collector Thread on iOS 13, explains the underlying mutex and RunLoop interactions, reproduces the issue with CFTimer‑based timers, and proposes an AutoReleasePool‑wrapped solution along with best‑practice recommendations for JavaScriptCore usage.

JavaScriptCoreMemory ManagementRunLoop
0 likes · 17 min read
Analyzing and Resolving a Main Thread ↔ JavaScriptCore Heap Collector Thread Deadlock on iOS 13
Kuaishou Frontend Engineering
Kuaishou Frontend Engineering
Sep 10, 2021 · Mobile Development

Main Thread vs JavaScriptCore: iOS 13 Deadlock Explained & Fixed

An in‑depth analysis reveals how a Main Thread and JavaScriptCore Heap Collector Thread can deadlock on iOS 13 due to RunLoop lock contention triggered by timer callbacks and AutoReleasePool memory reclamation, and provides a practical solution using scoped AutoReleasePool blocks to prevent the issue.

JavaScriptCoreMemory ManagementMobile
0 likes · 18 min read
Main Thread vs JavaScriptCore: iOS 13 Deadlock Explained & Fixed
58 Tech
58 Tech
Dec 25, 2019 · Mobile Development

NJCS: A Lightweight Dynamic Deployment Solution for iOS Apps – Usage Guide

This article introduces NJCS, a lightweight dynamic deployment framework for iOS that enables rapid feature updates without App Store re‑approval, explains its background, integration steps, page creation, navigation APIs, UI component usage, notification handling, and provides practical code examples for developers.

Dynamic DeploymentJavaScriptCoreNJCS
0 likes · 11 min read
NJCS: A Lightweight Dynamic Deployment Solution for iOS Apps – Usage Guide
Ctrip Technology
Ctrip Technology
May 27, 2019 · Mobile Development

Leveraging JavaScriptCore for Lightweight Native iOS UI Bridging with JavaScript

Facing iOS App Store review delays, the article explores a lightweight approach that combines native iOS UI with JavaScript via JavaScriptCore, detailing JSContext and JSValue usage, code examples for UI components, and the conversion process that enables dynamic, low‑overhead UI updates without heavy frameworks.

JavaScriptCoreNative BridgeReact Native
0 likes · 11 min read
Leveraging JavaScriptCore for Lightweight Native iOS UI Bridging with JavaScript
iQIYI Technical Product Team
iQIYI Technical Product Team
Apr 12, 2019 · Frontend Development

Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework

The paper presents a custom JavaScript automatic binding tool for iQIYI’s React Node Desktop framework that parses C++ headers with libclang, applies user‑written YAML rules, generates multi‑inheritance‑aware wrappers via the Mate abstraction, and abstracts engine specifics through a Node‑Addon‑API‑based common layer to support both V8 and JavaScriptCore.

BindingC++JavaScript
0 likes · 24 min read
Design and Implementation of a JavaScript Automatic Binding Tool for the iQIYI RND Framework
Qunar Tech Salon
Qunar Tech Salon
Sep 7, 2018 · Mobile Development

Understanding JavaScriptCore in iOS: Architecture, Components, and Integration

This article explains the role of JavaScriptCore in iOS development, covering its origins in WebKit, the internal architecture of JSCore—including lexer, parser, LLInt and JIT—its key features, and how developers can use JSContext, JSValue, and JSExport to bridge Objective‑C and JavaScript for hybrid applications.

JSContextJSValueJavaScriptCore
0 likes · 30 min read
Understanding JavaScriptCore in iOS: Architecture, Components, and Integration
Hujiang Technology
Hujiang Technology
Apr 20, 2017 · Mobile Development

Enhancing UIWebView with KakiWebView: Plugins, JSBridge, and JavaScriptCore Integration

This article explores how to improve the legacy UIWebView on iOS by using the lightweight KakiWebView component, discussing motivations for WebView adoption, JS‑Native interaction via JSBridge and JavaScriptCore, code organization strategies, and a set of extensible plugins.

JSBridgeJavaScriptCoreKakiWebView
0 likes · 7 min read
Enhancing UIWebView with KakiWebView: Plugins, JSBridge, and JavaScriptCore Integration