Submit Search
Upload
Automated Memory Management for C++
•
0 likes
•
6,018 views
Sergey Karashevich
Follow
Education
Report
Share
Report
Share
1 of 16
Download now
Download to read offline
Recommended
#ITSubbotnik Rodionov talk - "Neural networks in JS" (Нейронные сети на JS, С...
#ITSubbotnik Rodionov talk - "Neural networks in JS" (Нейронные сети на JS, С...
Vsevolod Rodionov
Стачка 2017: CinemaVR - история запуска
Стачка 2017: CinemaVR - история запуска
Andrey Tatarinov
Язык программирования Python в гидрологическом моделировании
Язык программирования Python в гидрологическом моделировании
Georgy Ayzel
Piter js
Piter js
Talks&Works
Command Line PLugin for IntelliJ IDEA
Command Line PLugin for IntelliJ IDEA
Sergey Karashevich
Плюсы и минусы Go для разработчиков на C++, Вячеслав Бахмутов
Плюсы и минусы Go для разработчиков на C++, Вячеслав Бахмутов
Yandex
Можно ли обойтись без тестировщиков
Можно ли обойтись без тестировщиков
Maxim Shulga
Lovely scrum
Lovely scrum
Eduard Antsupov
Recommended
#ITSubbotnik Rodionov talk - "Neural networks in JS" (Нейронные сети на JS, С...
#ITSubbotnik Rodionov talk - "Neural networks in JS" (Нейронные сети на JS, С...
Vsevolod Rodionov
Стачка 2017: CinemaVR - история запуска
Стачка 2017: CinemaVR - история запуска
Andrey Tatarinov
Язык программирования Python в гидрологическом моделировании
Язык программирования Python в гидрологическом моделировании
Georgy Ayzel
Piter js
Piter js
Talks&Works
Command Line PLugin for IntelliJ IDEA
Command Line PLugin for IntelliJ IDEA
Sergey Karashevich
Плюсы и минусы Go для разработчиков на C++, Вячеслав Бахмутов
Плюсы и минусы Go для разработчиков на C++, Вячеслав Бахмутов
Yandex
Можно ли обойтись без тестировщиков
Можно ли обойтись без тестировщиков
Maxim Shulga
Lovely scrum
Lovely scrum
Eduard Antsupov
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
More Related Content
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Automated Memory Management for C++
1.
Автоматическое управление памятью для С++ Руководитель:
Д.Ю. Булычев Грановский Александр, alex-gran-tc@yandex.ru Крень Мария, mari.kren@gmail.com
2.
Введение Сборка мусора -
это один из способов автоматического управления динамической памятью.
3.
Основные этапы сборки
мусора 1) Найти roots 2) Пометить достижимые из roots объекты 3) Удалить непомеченные объекты
4.
Виды сборщиков мусора ●
Консервативный ● Неконсервативный
5.
Задача ● Создать неконсервативный
сборщик мусора, который подключался бы как header file.
6.
Существующие решения
7.
Инструменты 1) Утилита make 2)
GDB 3) GCC 4) Notepad 5) С/С++
8.
Как пользоваться JBGC 1)
Указатели нужно заводить, как gc_ptr<type_name> 2) New вызывать так: gc_new<type_name>();
9.
Пример
10.
Почему так? ● Поскольку
мы неконсервативны, нужно следить за всеми указателями. ● Свой шаблонный gc_new, потому что new не знает тип.
11.
Нерешенные проблемы
12.
Нерешенные проблемы
13.
Нерешенные проблемы ● Не
умеем при создании объекта использовать конструктор не по умолчанию. ● Используем много памяти, из-за чего время работы программы ухудшается. Данная проблема может быть решена использованием своей кучи.
14.
Результат работы Мы работаем,
но не всегда...
15.
Что будет дальше
16.
Планы ● Прикрутим кучу ●
Компиляция программы с ключами ● Решим проблему конструирования объектов
Download now