-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd8b4b7
commit 44fc17a
Showing
4 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/java_core_basic/JVMMemory.java → src/java_effective_code/JVMMemory.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package java_core_basic; | ||
package java_effective_code; | ||
|
||
/** | ||
* The memory of JVM | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package java_thread; | ||
|
||
import java_common.TimeNow; | ||
import java_common.CommonMethod; | ||
|
||
public class PrintLog { | ||
//´òÓ¡µ±Ç°Ê±¼äϵÄÐÅÏ¢ | ||
public static void log(String msg) { | ||
System.out.printf("%s %s %s%n", TimeNow.TIME_NOW, Thread.currentThread().getName(), msg); | ||
System.out.printf("%s %s %s%n", CommonMethod.TIME_NOW, Thread.currentThread().getName(), msg); | ||
} | ||
} |