JDK-8133016 : JEP-JDK-8062493: [jvmci] Test task: complex test cases
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2015-08-04
  • Updated: 2021-10-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Relates :  
Sub Tasks
JDK-8138708 :  
JDK-8138791 :  
JDK-8138792 :  
JDK-8138793 :  
JDK-8138795 :  
JDK-8138797 :  
JDK-8138798 :  
JDK-8138799 :  
JDK-8138800 :  
JDK-8138801 :  
JDK-8138802 :  
JDK-8138803 :  
JDK-8138804 :  
JDK-8138805 :  
JDK-8138806 :  
JDK-8138807 :  
JDK-8138808 :  
JDK-8138809 :  
JDK-8138810 :  
JDK-8138815 :  
JDK-8140335 :  
Description
complex test cases (including negative) should be developed for JDK-8078351
Comments
ILW = Add missing tests, for jvmci, no workaround = MMH = P3
21-02-2017

During tasks reprioritization it was decided to have lesser priority.
21-03-2016

the following methods should be covered by this task: - notifyCompilationStatistics - getResolvedJavaMethod - resetCompilationStatistics - resolvePossiblyCachedConstantInPool - resolveConstantInPool - constantPoolRemapInstructionOperandFromCache - lookupNameInPool - lookupNameAndTypeRefIndexInPool - lookupSignatureInPool - lookupKlassRefIndexInPool - lookupAppendixInPool - lookupMethodInPool - resolveFieldInPool - resolveInvokeHandleInPool - installCode - getMetadata
29-09-2015

doNotInlineOrCompile - check that method can't be compiled
27-09-2015

hasCompiledCodeForOSR - incorrect bci -1, -4, bigger than bytecode.length - incorrect comp levels - abstract, native methods
27-09-2015

I think JVMTI's constant pool has to be RT-CP, so it should solve a problem w/ reading CP entries: http://docs.oracle.com/javase/8/docs/platform/jvmti/jvmti.html#GetConstantPool
26-09-2015

CompilerToVM::MaterializeVirtualObjectTest should be also tested with another cases: - check that while materializing some frame, other frames are not affected by materialization - possible another cases
25-09-2015

executeInstalledCode - varag method - null as receiver - null as args - incorrect args.length - incorrect args type (L and primitives) - incorrect receiver type - code w/ throw inside (implicit and explicit) - abstract class init - cases from tests for java/lang/reflect/Method, Constructor - osr compiled code (?)
25-09-2015

doNotInlineOrCompile test without using canInlineMethod
25-09-2015

update relevant existing tests with case of default interface method not overridden in implementors
25-09-2015

tests which test flushDebugOutput/writeDebugOutput separately
24-09-2015

methodIsIgnoredBySecurityStackWalk - native method
24-09-2015

The following six methods need cpi from VM bytecode streams, not form class file (javap): CompilerToVM::lookupNameInPool CompilerToVM::lookupSignatureInPool CompilerToVM::lookupNameAndTypeRefIndexInPool CompilerToVM::lookupKlassRefIndexInPool CompilerToVM::lookupMethodInPool CompilerToVM::resolveFieldInPool
24-09-2015

CompilerToVM::constantPoolRemapInstructionOperandFromCache (complex test case using cp cache access)
24-09-2015

CompilerToVM::resolvePossiblyCachedConstantInPool (complex test case using cp cache access)
24-09-2015

CompilerToVM::lookupAppendixInPool
24-09-2015

CompilerToVM::reprofile add comparing ProfilingInfo field by field via reflection
24-09-2015

CompilerToVM::resolveInvokeHandle (needs a constant pool from MethodHandle subclass)
24-09-2015

CompilerToVM::getStackTraceElement - compare line number - add different method types, e.g. native, abstract, etc
23-09-2015

CompilerToVM::hasBalancedMonitors 1. enter(a) 2. enter(a), exit(b) 3. enter(a), enter(b), exit(a), exit(b) 4. exit(a) 5. enter(a), enter(b), exit(b) 6. enter(b), exit(b), enter(a) ... x {sync k/w}
23-09-2015

CompilerToVM::getMetaspaceMethod verify that returned method object id related to the requested one
23-09-2015

CompilerToVM::allocateCompiledId w/ bci less than -1 and more than method.size
23-09-2015

CompilerToVM::disassembleCodeBlob w/ hsdis library
22-09-2015

HotSpotVMEventListener::notifyInstall - checks w/ incorrect installMethod invocation
17-09-2015

- exceptionTableStart - exceptionTableLength - getLocalVariableTableStart - getLocalVariableTableLength - getLineNumberTable negative cases, get table via javap
07-08-2015