• Open Access IconOpen Access
  • Cite Icon140
  • https://doi.org/10.1145/304065.304106Copy DOI Icon

Fixing the Java memory model

  • Jun 1, 1999
  • William Pugh
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The Java memory model described in Chapter 17 of the Java Language Specication gives constraints on how threads interact through memory. The Java memory model is hard to interpret and poorly understood; it imposes constraints that prohibit common compiler optimizations and are expensive to implement on existing hardware. At least one shipping optimizing Java compiler violates the constraints of the existing Java memory model. These issues are particularly important for high-performance Java applications, since they are more likely to use and need aggressive optimizing compilers and parallel processors. In addition, programming idioms used by some programmers and used within Sun’s Java Development Kit is not guaranteed to be valid according the existing Java memory model. This paper reviews these issues and suggests replacement memory models for Java.

Similar Papers
  • Research Article
  • Citations83

The Java memory model is fatally flawed

  • Jan 01, 2000
  • Concurrency: Practice and Experience
  • William Pugh
  • Conference Article
  • Citations4

JDMM

  • Jun 12, 2014
  • Foivos S Zakkak +1
  • Research Article
  • Citations6

Plan B

  • Jan 23, 2013
  • ACM SIGPLAN Notices
  • Delphine Demange +5
  • PDF
  • Research Article
  • Citations20

A formalization of Java’s concurrent access modes

  • Oct 10, 2019
  • Proceedings of the ACM on Programming Languages
  • John Bender +1
  • Conference Article
  • Citations70

Runtime optimizations for a Java DSM implementation

  • Jun 01, 2001
  • R Veldema +3
  • Conference Article
  • Citations1

DiSquawk

  • Aug 29, 2016
  • Foivos S Zakkak +1
  • Book Chapter
  • Citations23

Memory-Model-Sensitive Data Race Analysis

  • Jan 01, 2004
  • Yue Yang +2
  • Research Article
  • Citations47

Goldilocks

  • Jun 10, 2007
  • ACM SIGPLAN Notices
  • Tayfun Elmas +2
  • Research Article
  • Citations12

Using the Java Native Interface

  • Nov 01, 1997
  • XRDS: Crossroads, The ACM Magazine for Students
  • S Fouzi Husaini
  • Conference Article
  • Citations8

Interface utilization in the Java Development Kit

  • Mar 14, 2004
  • Jens Gößner +2
  • Book Chapter

Compact Profiles

  • Jan 01, 2014
  • Kishori Sharan
  • Research Article

Using JShell in CS1

  • Apr 01, 2020
  • Journal of Computing Sciences in Colleges
  • Kendall-Morwickjoseph
  • Book Chapter
  • Citations1

Introducing Android Studio

  • Jan 01, 2015
  • Adam Gerber +1
  • Research Article
  • Citations15

JAVACAM: trimming Java down to size

  • Jan 01, 1998
  • IEEE Internet Computing
  • C.E Mcdowell +4
  • Conference Article
  • Citations11

Hidden truths in dead software paths

  • Aug 30, 2015
  • Michael Eichberg +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.