Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.9.2
-
Fix Version/s: 2.9.3
-
Component/s: Compiler: Baseline
-
Labels:None
-
Environment:PPC OSX
-
Testcase included:yes
-
Number of attachments :
Description
The code for monitorenter does not always check that the argument is not null. This result in a NullPointerException inside uninterruptible code.
I have seen that on PPC OSX using the base compiler. I do not know whether this happens on other architectures/compilers.
Bug is confined to the baseline compilers, but is present on both IA32 and PPC.
Opt compiler generates correct code (does null check before entering uninterruptible locking region).