2000 · 38 citations · 8 references
ComputingComputer ScienceCompilersComputer ArchitectureProgramming LanguagesConcurrency AnalysisControl-flow AnalysisInstruction SchedulingMemory ConsistencySynchronization PrimitivesThread ProgrammingCoarse-grained SynchronizationDependency AnalysisFine-grained SynchronizationLoad ReorderingMemory CoherenceMemory Model SemanticsSynchronization SemanticsThread Analysis In Memory
This paper describes alternative memory semantics for Java programs using an enriched version of the Commit/Reconcile/Fence (CRF) memory model [16]. It outlines a set of reasonable practices for safe multithreaded programming in Java. Our semantics allow a number of optimizations such as load reordering that are currently prohibited. Simple thread-local algebraic rules express the effects of optimizations at the source or bytecode level. The rules focus on reordering source-level operations; they yield a simple dependency analysis algorithm for Java. An instruction-by-instruction translation of Java memory operations into CRF operations captures thread interactions precisely. The fine-grained synchronization of CRF means the algebraic rules are easily derived from the translation. CRF can be mapped directly to a modern architecture, and is thus a suitable target for optimizing memory coherence during code generation.
8
Shared memory consistency models: a tutorial
Sarita V. Adve, Kourosh Gharachorloo · Computer · 1996 · 1.1K citations
Jong-Deok Choi, Manish Gupta, Maurício Serrano et al. · 1999 · 505 citations · Full text
Compositional pointer and escape analysis for Java programs
John Whaley, Martin Rinard · 1999 · 443 citations