Lines Matching refs:isolates
154 // The backing store for a Wasm shared memory remembers all the isolates
906 // Remove this isolate from the isolates list.
907 auto& isolates = shared_data->isolates_;
908 for (size_t i = 0; i < isolates.size(); i++) {
909 if (isolates[i] == isolate) isolates[i] = nullptr;
921 // Add the isolate to the list of isolates sharing this backing store.
925 auto& isolates = shared_data->isolates_;
927 for (size_t i = 0; i < isolates.size(); i++) {
928 if (isolates[i] == isolate) return;
929 if (isolates[i] == nullptr) free_entry = static_cast<int>(i);
932 isolates[free_entry] = isolate;
934 isolates.push_back(isolate);
940 // The global lock protects the list of isolates per backing store.