Skip to content

THREAD_SAFETY_VIOLATION (from Sonatype Lift) #99

@vorburger

Description

@vorburger

Sonatype Lift raised a THREAD_SAFETY_VIOLATION in ManagedProcess#assertWaitForIsValid() :

THREAD_SAFETY_VIOLATION: Read/Write race. Non-private method ManagedProcess.assertWaitForIsValid() indirectly reads without synchronization from this.isAlive. Potentially races with write in method ManagedProcess.startExecute().
Reporting because another access to the same memory occurs on a background thread, although this access may not.

@cardamon is this the sort of thing you would enjoy contributing a fix for?

I'm hesitant whether or not to already merge your PR #96 as-is. Thoughts?

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