Skip to content

Commit 7c6a54d

Browse files
jenslinlisker
authored andcommitted
8293839: Documentation memory consistency effects of runLater
Reviewed-by: kcr
1 parent a27840e commit 7c6a54d

File tree

1 file changed

+6
-0
lines changed
  • modules/javafx.graphics/src/main/java/javafx/application

1 file changed

+6
-0
lines changed

modules/javafx.graphics/src/main/java/javafx/application/Platform.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ public static void startup(Runnable runnable) {
151151
* {@link #startup(Runnable)} once.
152152
* </p>
153153
*
154+
* <p>
155+
* Memory consistency effects: Actions in a thread prior to submitting a
156+
* {@code runnable} to this method <i>happen-before</i> actions performed
157+
* by the runnable in the JavaFX Application Thread.
158+
* </p>
159+
*
154160
* @param runnable the Runnable whose run method will be executed on the
155161
* JavaFX Application Thread
156162
*

0 commit comments

Comments
 (0)