Native code may attempt to access an object that has invalid input (such as a stale local reference) or that is coded incorrectly.
本机代码可能尝试访问具有无效输入(如过时的本地引用)或编码错误的对象。
Similarly, it is possible to read a fresh, updated value of a reference variable, but a stale value of one of the fields of the object now being referenced.
同样,可能读到一个引用变量的最新值,但读取到这个引用变量引用的对象的字段的过期值。
For example, it is possible to obtain a fresh value for one field of an object, but a stale value for another.
比如,得到一个对象的一个字段的最新值,同时得到这个对象的其他字段的过期的值。
For example, it is possible to obtain a fresh value for one field of an object, but a stale value for another.
比如,得到一个对象的一个字段的最新值,同时得到这个对象的其他字段的过期的值。
应用推荐