- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    8u40, 9
- 
        b40
- 
        generic
- 
        generic
- 
        Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8085780 | emb-9 | Attila Szegedi | P3 | Resolved | Fixed | team | 
| JDK-8065528 | 8u45 | Attila Szegedi | P3 | Resolved | Fixed | b01 | 
| JDK-8064589 | 8u40 | Attila Szegedi | P3 | Closed | Fixed | b15 | 
| JDK-8070517 | emb-8u47 | Attila Szegedi | P3 | Resolved | Fixed | team | 
                    Run test script : 
var x = { a: 2, b:1 };
x.a = Number.POSITIVE_INFINITY;
x.b = 0;
print(x.a/x.b);
with options: -Dnashorn.typeInfo.maxFiles=100 --log=recompile:fine
output :
[recompile] Parameter type specialization of ':program' signature: (Object,Object)Object
[recompile] Failed to calculate version dir namejava.lang.NullPointerException
[recompile] Looking up ':program' type=(ScriptFunction,Object)Object
[recompile] Looking up ':program' type=(ScriptFunction,Object)Object
[recompile] RewriteException [pp=9, type=double, value=Infinityd)]
[recompile] Deoptimizing recompilation (up to bytecode) ':program' signature: (ScriptFunction,Object)Object [2->D] [9->D]
[recompile] Reusable IR generated
[recompile] Generating and installing bytecode from reusable IR...
[recompile] Rest-of compilation [CODE PIPELINE REUSE] ':program' signature: (ScriptFunction,Object)Object [2->D] [9->D]
[recompile] Done.
[recompile] Recompiled ':program' (0x0ea6147e) can still be deoptimized.
[recompile] Looking up invoker...
[recompile] Looking up ':program' type=(ScriptFunction,Object)Object
[recompile] Done: MethodHandle(ScriptFunction,Object)Object
[recompile] Looking up ':program' type=(RewriteException)Object
Infinity
            
var x = { a: 2, b:1 };
x.a = Number.POSITIVE_INFINITY;
x.b = 0;
print(x.a/x.b);
with options: -Dnashorn.typeInfo.maxFiles=100 --log=recompile:fine
output :
[recompile] Parameter type specialization of ':program' signature: (Object,Object)Object
[recompile] Failed to calculate version dir namejava.lang.NullPointerException
[recompile] Looking up ':program' type=(ScriptFunction,Object)Object
[recompile] Looking up ':program' type=(ScriptFunction,Object)Object
[recompile] RewriteException [pp=9, type=double, value=Infinityd)]
[recompile] Deoptimizing recompilation (up to bytecode) ':program' signature: (ScriptFunction,Object)Object [2->D] [9->D]
[recompile] Reusable IR generated
[recompile] Generating and installing bytecode from reusable IR...
[recompile] Rest-of compilation [CODE PIPELINE REUSE] ':program' signature: (ScriptFunction,Object)Object [2->D] [9->D]
[recompile] Done.
[recompile] Recompiled ':program' (0x0ea6147e) can still be deoptimized.
[recompile] Looking up invoker...
[recompile] Looking up ':program' type=(ScriptFunction,Object)Object
[recompile] Done: MethodHandle(ScriptFunction,Object)Object
[recompile] Looking up ':program' type=(RewriteException)Object
Infinity
- backported by
- 
                    JDK-8065528 Deoptimization type information persistence doesn't work - "Failed to calculate version dir name" -           
- Resolved
 
-         
- 
                    JDK-8070517 Deoptimization type information persistence doesn't work - "Failed to calculate version dir name" -           
- Resolved
 
-         
- 
                    JDK-8085780 Deoptimization type information persistence doesn't work - "Failed to calculate version dir name" -           
- Resolved
 
-         
- 
                    JDK-8064589 Deoptimization type information persistence doesn't work - "Failed to calculate version dir name" -           
- Closed
 
-