Hi,
I'm using kryonet in a small arcade network game, it works very well!
I managed to implement a quake3-like network model with half-life-like
imposed local latency. I'm quite satisfied with the results so far.
However, as i want to optimize the game simulation code, i tried
attaching the netbeans profiler to the project, but it always ends up
with those errors:
Profiler Agent Error: Redefinition failed for classes:
com.esotericsoftware.kryonet.FrameworkMessage$RegisterTCPFieldAccess
Profiler Agent Error: with message: Redefinition failed with error 62
Check JVMTI documentation for this error code.
Debug: writing class file:
com.esotericsoftware.kryonet.FrameworkMessage$RegisterTCPFieldAccess,
into file: com.esotericsoftware.kryonet.FrameworkMessage
$RegisterTCPFieldAccess.class
Profiler Agent Error: Redefinition failed for classes:
com.esotericsoftware.kryonet.FrameworkMessage$RegisterUDPFieldAccess
Profiler Agent Error: with message: Redefinition failed with error 62
Check JVMTI documentation for this error code.
Debug: writing class file:
com.esotericsoftware.kryonet.FrameworkMessage$RegisterUDPFieldAccess,
into file: com.esotericsoftware.kryonet.FrameworkMessage
$RegisterUDPFieldAccess.class
Profiler Agent Error: Redefinition failed for classes:
com.esotericsoftware.kryonet.FrameworkMessage$PingFieldAccess
Profiler Agent Error: with message: Redefinition failed with error 62
Check JVMTI documentation for this error code.
Debug: writing class file:
com.esotericsoftware.kryonet.FrameworkMessage$PingFieldAccess, into
file: com.esotericsoftware.kryonet.FrameworkMessage
$PingFieldAccess.class
Profiler Agent Error: Redefinition failed for classes:
shared.command.PlayerCommandFieldAccess
Profiler Agent Error: with message: Redefinition failed with error 62
Check JVMTI documentation for this error code.
Debug: writing class file: shared.command.PlayerCommandFieldAccess,
into file: shared.command.PlayerCommandFieldAccess.class
Documentation at
http://download.oracle.com/javase/6/docs/platform/jvmti/jvmti.html#ErrorSection
stipulate
JVMTI_ERROR_FAILS_VERIFICATION (62)
The class bytes fail verification.
I tried excluding kryo classes and local classes registered with kryo,
but those errors still happen.
I saw on another thread you managed profiling using eclipse. I didn't
try that yet, but i thought you migh have an idea of whats going on.
Thank you!
Charly