Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

日本一細かいJavaOne2011報告

1,097 views

Published on

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

日本一細かいJavaOne2011報告

  1. 1. JavaOneAcroquest Technology
  2. 2. • (Shin Tanimoto)• Acroquest Technology• @cero_t• tanimoto.shin@gmail.com• http://d.hatena.ne.jp/cero-t/• PJ Hadoop
  3. 3. 1. Collections2. Performance tuning at “Twitter”3. Framework Comparison4. JavaEE Best Practice5. San Francisco & Las Vegas6. JRockit Mission Control7. HotRockit8. JavaOne 2012
  4. 4. 1. Collections
  5. 5. 1. Collections1) Collections#sort2) Iterator3) TreeSet null4) Parallel Array
  6. 6. 1. Collections• coll.removeAll(s->s.length() > 20);• people.parallelSort(comparing(Person::getAge));• int max = people.parallel() .filter(x->x.age >= 21) .map(x->x.score) .reduce(0, Math::max);
  7. 7. “Collections BOF” JavaOne
  8. 8. 2. Performance tuning at “Twitter”
  9. 9. 2. Performance tuning at “Twitter”• Integer[] : 24 + (32 * length)• Int[] : 24 + (4 * length)
  10. 10. 2. Performance tuning at “Twitter”• Compactness• Throunghput• Responsiveness• C *T * R = a• Tuning / Optimization
  11. 11. 2. Performance tuning at “Twitter”• GC Eden / S1 / S2 / Old• S1 / S2• Eden• Old GC GC• -XX:+PrintTenuringDistribution Tenuring
  12. 12. jvm performance tuning twitter
  13. 13. 3. Framework Comparison
  14. 14. 3. Framework Comparison• Wicket• JSF 2.0• Spring MVC• GWT
  15. 15. 3. Framework Comparison•••
  16. 16. 3. Framework Comparison• GWT ≦ Spring MVC ≪ JSF < Wicket• MyFaces
  17. 17. “world wide wait” prezi
  18. 18. 4. JavaEE Best Practice
  19. 19. 4. JavaEE Best Practice• Service s = new ServiceImpl();• Dao Action / Service / Dao•• CoC• 5MB war 50MB
  20. 20. 4. JavaEE Best Practice• CDI / JPA / EJB / JAX-RS• JMX• Dao• / /•• QA• JavaEE6 / Maven3 / CI / Git
  21. 21. http://www.parleys.com/ Rethinking
  22. 22. 5. San Francisco & Las Vegas
  23. 23. 5. San Francisco & Las Vegas• Oracle• Google• Apple• Intel
  24. 24. Oracle
  25. 25. TOEIC130 Up!!!
  26. 26. 6. JRockit Mission Control
  27. 27. 6. JRockit Mission Control• JRockit• VisualVM JRockit• HotSpot• Flight Recorder Memleak
  28. 28. 7. HotRockit
  29. 29. 7. HotRockit• 2013 Java8• JRockit HotSpot•
  30. 30. Mac
  31. 31. 7. HotRockit• JRCMD• MBean / JMX• JRockit Mission Control• JRockit Flight Recorder• Memleak• Memleak Server
  32. 32. Memleak Server !?
  33. 33. 7. HotRockit• Realtime GC• no permgen space
  34. 34. http://www.parleys.com/ Hotrockit
  35. 35. 8. JavaOne 2012
  36. 36. 8. JavaOne 2012• JavaOne Tokyo !!!• 2012/04/04 - 05••
  37. 37. Javaone Tokyo
  38. 38. 8. JavaOne 2012• 2012/9/30 - 10/4• San Francisco• OOW•
  39. 39. 8. JavaOne 2012• : 10 15• :8 10• : 10• : 28 35
  40. 40. 8. JavaOne 2012••2 1•3 1 1/3
  41. 41. Press / Blogger
  42. 42. 8. JavaOne 2012•• Java Oracle blog blogger• Call for paper
  43. 43. 8. JavaOne 2012• : 10 15• :3 4• :• : 13 20
  44. 44. 8. JavaOne 2012•••••
  45. 45. HIS
  46. 46. 1. Collections2. Performance tuning at “Twitter”3. Framework Comparison4. JavaEE Best Practice5. San Francisco & Las Vegas6. JRockit Mission Control7. HotRockit8. JavaOne 2012
  47. 47. One more thing ...
  48. 48. San Francisco &Silicon valley
  49. 49. +1. Collections2. Performance tuning at “Twitter”3. Framework Comparison4. JavaEE Best Practice5. San Francisco & Las Vegas6. JRockit Mission Control7. HotRockit8. JavaOne 2012 +1. Steve Jobs / San Francisco & Silicon Valley

×