جميع الكتب

مهني

1 Markets I: The Ecosystem and Exchange-Traded Marketsالأسواق عبر الإنترنت 2 Markets II: Rates, FX and Creditالأسواق عبر الإنترنت 3 Markets III: Commodities, Energy and Cryptoالأسواق عبر الإنترنت 4 Quantitative Methodsالأساليب عبر الإنترنت 5 Derivatives and Volatilityالمشتقات عبر الإنترنت 6 Rates, Credit, XVA and Riskالفائدة والائتمان والمخاطر عبر الإنترنت 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosالبحث عبر الإنترنت 8 Strategies I: Equities and Futuresالاستراتيجيات عبر الإنترنت 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksالاستراتيجيات عبر الإنترنت 10 Microstructure and Executionالتنفيذ عبر الإنترنت 11 Market Making and High-Frequency Tradingصناعة السوق عبر الإنترنت 12 Machine Learning for Marketsتعلم الآلة عبر الإنترنت 13 Low-Latency Softwareالتكنولوجيا عبر الإنترنت 14 Networks, Hardware and Trading Infrastructureالتكنولوجيا عبر الإنترنت 15 Research, Data and Risk Platformsالتكنولوجيا عبر الإنترنت 16 The Desk and the Firmالشركة عبر الإنترنت 17 The Industry: Firms, Roles and Careersالمسارات المهنية عبر الإنترنت 18 Interviews I: Maths, Probability and Speedالمسارات المهنية عبر الإنترنت 19 Interviews II: Markets, Trading Games and the Final Roundالمسارات المهنية عبر الإنترنت 20 Interviews III: Codeالمسارات المهنية عبر الإنترنت
التطبيقات حول المدرب تسجيل الدخول ابدأ القراءة

Computer Science · المسرد

ما معنى Generational collection, write barrier, remembered set؟

يُعرف أيضًا باسم: generational collection · remembered set · write barrier

Definition 9.9 University Computer Science — Year 3 · الفصل 9 — Memory Management and Garbage Collection

A generational collector allocates in a small nursery and collects it alone in a minor collection, which moves its survivors into an old generation (promotion); a major collection collects the whole heap. The remembered set holds the old objects that may refer to nursery objects; a minor collection treats them as roots. A write barrier is code run at every store of a reference into an object; here, it adds the object to the remembered set when an old object receives a reference to a young one.

Two generations. The store of a reference to the young cell y into the old cell s goes through the write barrier, which adds s to the remembered set. The next minor collection starts from the roots and from s, so it promotes y; the grey cell, which nothing refers to, is never examined.
Two generations. The store of a reference to the young cell yy into the old cell ss goes through the write barrier, which adds ss to the remembered set. The next minor collection starts from the roots and from ss, so it promotes yy; the grey cell, which nothing refers to, is never examined.
اقرأ في الفصل →