Bug 1151372
Summary: | (ann) Race condition between isAnnotationPresent and getAnnotations | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Abhijit humbe <abhumbe> | |
Component: | java-1.6.0-openjdk | Assignee: | Andrew John Hughes <ahughes> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukáš Zachar <lzachar> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 6.5 | CC: | dbhole, jherrman, salmy | |
Target Milestone: | rc | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Prior to this update, a race condition in some cases occurred between two system calls used to access Java annotations: isAnnotationPresent() and getAnnotation(). This caused the system to enter a deadlock. With this update, Java annotation data and the reflection API data in the Java class object have been moved into a wrapper class, and access to the data has been restricted to a set of atomic operations. As a result, the race condition no longer occurs, which in turn prevents the mentioned deadlock. In addition, the value type applied when retrieving a static field on an OpenJDK 6 virtual machine has been corrected.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1158799 (view as bug list) | Environment: | ||
Last Closed: | 2015-06-12 15:43:24 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1158799, 1159926 |
Description
Abhijit humbe
2014-10-10 09:00:27 UTC
Closing as fixed in the current 6.6 release of java-1.6.0-openjdk by bug #1158799. |