the behaviour of one of the customer's methods changes after
the hotspot compilation has kicked in.
testcase decodes a base64 encoded byte array & compares with a
hardcoded array. this works with -client vm but seems to fail
after a number of iterations when using -server.
failures occurring on windows (98 & 2000) but don't seem to
happen on solaris.
teestcase is in /net/kelvin.uk/export/dts/calls/418357/rj
java Base64Test
produces
Version without static methods/initializers...
No problem!
Version with satic methods/initializers...
No problem!
wheras
java -server Base64Test
outputs:
Version without static methods/initializers...
Mismatch in position 2 (84 != 83)
failed 10
Mismatch in position 2 (84 != 83)
failed 11
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 12
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 13
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 14
is identical to first mismatch
....
...
....
Mismatch in position 2 (84 != 83)
failed 97
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 98
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 99
is identical to first mismatch
Decode failures: 90
Version with satic methods/initializers...
Mismatch in position 2 (84 != 83)
failed 10
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 11
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 12
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 13
....
....
....
Mismatch in position 2 (84 != 83)
failed 96
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 97
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 98
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 99
is identical to first mismatch
Decode failures: 90
the hotspot compilation has kicked in.
testcase decodes a base64 encoded byte array & compares with a
hardcoded array. this works with -client vm but seems to fail
after a number of iterations when using -server.
failures occurring on windows (98 & 2000) but don't seem to
happen on solaris.
teestcase is in /net/kelvin.uk/export/dts/calls/418357/rj
java Base64Test
produces
Version without static methods/initializers...
No problem!
Version with satic methods/initializers...
No problem!
wheras
java -server Base64Test
outputs:
Version without static methods/initializers...
Mismatch in position 2 (84 != 83)
failed 10
Mismatch in position 2 (84 != 83)
failed 11
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 12
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 13
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 14
is identical to first mismatch
....
...
....
Mismatch in position 2 (84 != 83)
failed 97
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 98
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 99
is identical to first mismatch
Decode failures: 90
Version with satic methods/initializers...
Mismatch in position 2 (84 != 83)
failed 10
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 11
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 12
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 13
....
....
....
Mismatch in position 2 (84 != 83)
failed 96
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 97
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 98
is identical to first mismatch
Mismatch in position 2 (84 != 83)
failed 99
is identical to first mismatch
Decode failures: 90