Upgrade to Pro — share decks privately, control downloads, hide ads and more …

うらがみさんアドバイス解析〜リテラルはGCされない〜

ihcomega56
August 27, 2016

 うらがみさんアドバイス解析〜リテラルはGCされない〜

真夏のhoge勉強会2016

ihcomega56

August 27, 2016
Tweet

More Decks by ihcomega56

Other Decks in Technology

Transcript

  1. Μʁ new String(new char[] { ‘c’,’c’,’c’ }).intern() DIBSʜ  ϓʔϧʹ௥Ճ͢ΔλΠϛϯάΛ

    JOUFSO ͕ݺͼग़͞Εͨͱ͖ OPUϦςϥϧ͕એݴ͞Εͨͱ͖ ʹ ͍͔ͨ͠Β͔ͳʁʁʁ
  2. Μʁ new String(new char[] { ‘c’,’c’,’c’ }).intern() DIBSʜ  ϓʔϧʹ௥Ճ͢ΔλΠϛϯάΛ

    JOUFSO ͕ݺͼग़͞Εͨͱ͖ OPUϦςϥϧ͕એݴ͞Εͨͱ͖ ʹ ͍͔ͨ͠Β͔ͳʁʁʁ ਖ਼ղͰͨ͠ ൃදޙʹ௥Ճͨ͠εϥΠυ