[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| 
[platform-core-dev] possible File.setContent() latency issues on Linux?
 | 
Hi.
I'm trying to resolve bug #46991 and just wanted to see if your team has 
ever encountered any issues with coherence in write/read operations on a 
file under the Linux JVM (1.4.1 IBM/Sun used in releng builds). I wonder 
if it's possible that the write to the file completes, yet an immediate 
read from the file (in the same thread, so it's synchronous) does not 
see the new contents.
More specifically, the test writes out a launch configuration (using 
File.setContents()) and then initiates a launch which reads the new 
configuration file contents. The test occasionaly fails with an 
unexpected launch config variable (the working directory in this case). 
I have looked hard at other potential failure causes and have no better 
candidates than the write/read issue.
I have searched Sun's bug parade and did not see any reports related to 
this behavior.
Thanks for any hints or comments.
-Chris
https://bugs.eclipse.org/bugs/show_bug.cgi?id=46991