JDK-7108275 : (jsr-292) Several JCK tests fail on Solaris sparc and only with "-XX:-UseRicochetFrames"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2011-11-04
  • Updated: 2011-12-08
  • Resolved: 2011-12-08
Related Reports
Duplicate :  
Relates :  
Description
The following JCK7 tests fail on Solaris sparc with "-XX:-UseRicochetFrames":
  lang/EXPR/expr751/expr75101m5/expr75101m5_rt.html
  lang/EXPR/expr751/expr75101m7/expr75101m7_rt.html
  api/java_lang/invoke/MethodHandle/index.html#MethodsTests[asCollector01,asCollector02,asCollectorIAE01,asType02,invokeWithArguments02,invokeWithArguments03,invokeWithArguments04]
  api/java_lang/invoke/MethodHandles/index.html#MethodsTests[arrayElementGetter01,arrayElementSetter01]

See the attachment for more details.

Comments
EVALUATION This is a bad test. The flag in question is not advertised or supported for use in the product. It is for internal quality testing and must not be used for conformance testing. There are many diagnostic flags in the JVM. Each is intended for a particular diagnostic task. It is irrelevant to the purpose of these flags whether or not the entire JCK validation suite passes when they are in use, since they are for gathering information in particular experimental situations. Here is the relevant discussion on the internal diagnostic flags, from the source code: http://hg.openjdk.java.net/jdk7/jdk7/hotspot/file/tip/src/share/vm/runtime/globals.hpp // Note: Diagnostic options not meant for VM tuning or for product modes. // They are to be used for VM quality assurance or field diagnosis // of VM bugs. They are hidden so that users will not be encouraged to // try them as if they were VM ordinary execution options. However, they // are available in the product version of the VM. Under instruction // from support engineers, VM customers can turn them on to collect // diagnostic information about VM problems. To use a VM diagnostic // option, you must first specify +UnlockDiagnosticVMOptions. // (This master switch also affects the behavior of -Xprintflags.) The particular flag in question is intended to assist porting efforts to new CPUs. Since the relevant JSR 292 functionality is ported to SPARC, there is never a need to turn it on.
11-11-2011