5 Lesser Known Java Thread Techniques
There are many hidden aspects of this programming language that you keep revealing as the time pass by. [...]after running jstack, you will see the following code: "pool-1-thread-1 #17 prio=5 os_prio=31 tid=0x00007f9d620c9800 nid=0x6d03 in Object.wait() [0x000000013ebcc000] To simplify the conf...
Uloženo v:
| Vydáno v: | EFYTimes.com |
|---|---|
| Médium: | Magazine Article |
| Jazyk: | angličtina |
| Vydáno: |
New Delhi
Athena Information Solutions Pvt. Ltd
17.01.2015
|
| Témata: | |
| On-line přístup: | Získat plný text |
| Tagy: |
Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
|
| Shrnutí: | There are many hidden aspects of this programming language that you keep revealing as the time pass by. [...]after running jstack, you will see the following code: "pool-1-thread-1 #17 prio=5 os_prio=31 tid=0x00007f9d620c9800 nid=0x6d03 in Object.wait() [0x000000013ebcc000] To simplify the confusion, you can set more suitable name by running, Thread.currentThread().setName(Context + TID + Params + current Time, ); If you run stack again, you will get more clear picture of the particular thread - "Queue Processing Thread, MessageID: AB5CAD, type: |
|---|---|
| Bibliografie: | ObjectType-News-1 content type line 24 SourceType-Magazines-1 |