Charset Converter seems to have a big performance regression problem since hopper-b11. I ran some regression test progran in ja locale and in C locale on Solaris. Testing in ja locale is so slow compared with testing in C locale. However, there might be a regression not only in ja locale but also in C locale. 4691440 was filed for a timeout in C locale.
(Example1)
4691440: test/sun/io/Converter/EuroConverter.java, output of `time`
C locale with hopper-b12
real 0m3.21s
user 0m1.58s
sys 0m0.18s
C locale with hopper-b10
real 0m1.22s
user 0m1.01s
sys 0m0.11s
ja locale with hopper-b12
real 0m47.74s <---------
user 0m45.78s <---------
sys 0m1.65s <---------
ja locale with hopper-b10
real 0m3.13s
user 0m1.12s
sys 0m0.26s
(Example2)
4690287: test/sun/io/Converter/TestConv.java
This test took 2 minutes in C locale, 30 minutes in ja locale to pass with hopper-b12.
I added a test program which reproduces the regresesion and a profile.
###@###.### 2002-05-24
Examples which were added on 2002-05-24 were recorded on Solaris. I add another example which shows how it is slow on Itanium regardless of
locales.
(Example3)
4691440: test/sun/io/Converter/EuroConverter.java, output of `time`
en_US locale with hopper-b13
real 21m34.311s <---------
user 20m33.955s <---------
sys 0m5.836s <---------
en_US locale with hopper-b10
real 0m11.648s
user 0m3.813s
sys 0m0.243s
ja locale with hopper-b13
real 22m13.922s <---------
user 20m21.591s <---------
sys 0m7.811s <---------
ja locale with hopper-b10
real 0m11.901s
user 0m3.860s
sys 0m0.227s
###@###.### 2002-05-29
///////////////////////////////////////////
###@###.### 2002-06-11
Name: as83306 Date: 05/24/2002
Regression test sun/io/Converter/EuroConverter.java fails with Hopper build 12 on Itanium RedHat 7.2 Linux, host north-star. This test failed with an increased timeout factor of 4 x that of the original timeout value for this test.
For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Sat May 18 01:57:44 PDT 2002
#checksum:1e3ea2d63a8b5f37
#-----testdescription-----
$file=/export0/regression/jdk1.4.1Tests/b12/sun/io/Converter/EuroConverter.java
$root=/export0/regression/jdk1.4.1Tests/b12
keywords=bug4114080
run=ASSUMED_ACTION main EuroConverter\n
source=EuroConverter.java
title=Make sure the euro converters, which are derived from existing converters, only differ from their parents at the expected code
point.
#-----environment-----
#-----testresult-----
description=file:///export0/regression/jdk1.4.1Tests/b12/sun/io/Converter/EuroConverter.java
end=Sat May 18 01:57:44 PDT 2002
environment=regtest
execStatus=Failed. Execution failed: Program `/export0/java/jdk141-64b12/bin/java' interrupted! (timed out?)
javatestOS=Linux 2.4.9-18smp (ia64)
javatestVersion=2.1.6
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Sat May 18 01:55:39 PDT 2002
status=Failed. Execution failed: Program `/export0/java/jdk141-64b12/bin/java' interrupted! (timed out?)
test=sun/io/Converter/EuroConverter.java
work=/export0/results/regression/hopper/b12/dnm-dtf-023.SFBay.Sun.COM2.4.9-18smp-jthb12-jdk141b12.05-17.19.10-ALL/sun/io/Converter
#section:script_messages
----------messages:(5/254)----------
JDK under test: (/export0/java/jdk141-64b12)
java version "1.4.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b12)
Java HotSpot(TM) 64-Bit Core VM (build 1.4.1-beta-b12, interpreted mode)
Timeout signalled after 120.0 seconds
#section:build
----------messages:(3/99)----------
command: build EuroConverter
reason: Named class compiled on demand
elapsed time (seconds): 4.969
result: Passed. Compilation successful
#section:compile
----------messages:(3/172)----------
command: compile /export0/regression/jdk1.4.1Tests/b12/sun/io/Converter/EuroConverter.java
reason: .class file out of date or does not exist
elapsed time (seconds): 4.923
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:main
----------messages:(3/127)----------
command: main EuroConverter
reason: Assumed action based on file name: run main EuroConverter
elapsed time (seconds): 480.007
----------System.out:(4/173)----------
Checking encoder ISO8859_15_FDIS against ISO8859_1
Checking encoder Cp923 against ISO8859_15_FDIS
Checking encoder Cp858 against Cp850
Checking encoder Cp1140 against Cp037
----------System.err:(0/0)----------
result: Failed. Execution failed: Program `/export0/java/jdk141-64b12/bin/java' interrupted! (timed out?)
test result: Failed. Execution failed: Program `/export0/java/jdk141-64b12/bin/java' interrupted! (timed out?)
======================================================================