Immutable Object is Thread-safe,and change the synchronize sample