webrev to address some HSAIL junit testing issues

Deneau, Tom tom.deneau at amd.com
Thu Nov 21 09:04:12 PST 2013


I have posted a webrev to address some issues in our HSAIL junit testing.



http://cr.openjdk.java.net/~tdeneau/graal-webrevs/webrev-junit-support/webrev/



Here is a summary:



  1) a fix for a problem that was introduced in the latest okra-in-hotspot webrev in that we were still going thru the JNI path for some of the java8 lambda-based kerneltester APIs.  It also simplifies the KernelTester overrides in GraalKernelTester.  While this does not affect the current java7 based tests in trunk, I feel this is important to get into trunk.



  2) All the current junit tests that can be run from trunk test over an integer stream range.   In Sumatra, we also want to be able to iterate over an Object array, with an Object being the iteration parameter.  There was some partially implemented support in KernelTester for Object array based junit tests, this was filled out and a number of java-7 style object array stream tests were added.



  3) Some object array stream related bugs in HSAILHotSpotBackend were fixed, and support for Object arrays in the presence of CompressedOops was added.



  4) removed some java.util.logger usages that were hanging around in HSAILCompilationResult.  If you want to see the generated hsail code, you can use something like -G:Log=CodeGen



-- Tom







More information about the graal-dev mailing list