test4.0
fix nullpointer in ProfileTimerTask.
Add sentinels to Java Client.