A bug with automatic variables and finally
glynn at sensei.co.uk
Thu May 8 13:09:19 PDT 1997
Gary Howland writes:
> There is a "volatile" keyword in Java, but I don't think it does anything
> at present. Perhaps we will have to explicitly use volatile at some point
> in the future, allowing compilers to make certain optimisations.
It does do something. volatile variables have slightly different
semantics w.r.t. multithreading than non-volatile variables.
Glynn Clements <glynn at sensei.co.uk>
More information about the kaffe