KhronosGroup / KSCAF_DocRequirements

Khronos Safety Critical Advisory Forum’s minimum requirements for developing a safety critical technology specification.
3 stars 1 forks source link

Garbage Collection shall be explicitly defined (Bug 16069) #6

Closed DeOrellana closed 7 years ago

DeOrellana commented 7 years ago

Daniel Herring 2016-10-17 07:59:27 PDT

When an API defines the use of automatic garbage collection mechanisms the API should provide means to explicitly invoke the garbage collection algorithms. Garbage collection should only be done during an explicit invocation of garbage collector.

In APIs where garbage collection reference counting is done by multiple processes, i.e. CPU and GPU, or multiple threads. The automatic garbage collection of objects can cause non deterministic behavior within an executing program.

shadazar commented 7 years ago

This issue has text in the document, closing this issue.