Skip to content

All off-thread access issues... #76

@Harveykang

Description

@Harveykang

Current Mitigations

  • Level.getEntity(...), ClassInstanceMultiMap.*
    • (optional) Use ConcurrentHashMap + IterationSafeArrayList
  • LevelChunk.getBlockEntities()
    • (optional) Use ConcurrentHashMap
  • LevelRenderer.setXxxDirty()
    • Dispatch to render thread.
  • ClientChunkCache.onLightUpdate()
    • Dispatch to render thread.
  • ActiveProfiler.*
    • Skip if off thread.
  • MultiBufferSource.*
    • Exception.
  • SoundEngine.*
    • Dispatch to render thread.
  • ClientLevel.players
    • Use IterationSafeArrayList

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions