SUN and IBM JVMs have a permGen space, while BEA's JVM doesn't even have a permGen space. PermGen is mainly used to store class objects.
g*g
11 楼
I probably know as much as you do. The main purpose of having 2 generations is to apply different GC algorithms on it. Objects in young gen can be swapped to tenured gen after surviving certain time/gc cycles. There're likely less garbage in tenured gen and it's collected less often. It's call major collection and it's much slower. Unless it's a JVM job, that's all you need to know besides the purpose of different GC algorithms IMHO. Before 64bits was available, memory was tight for large app an
【在 g*****g 的大作中提到】 : I probably know as much as you do. The main purpose : of having 2 generations is to apply different GC algorithms : on it. Objects in young gen can be swapped to tenured gen : after surviving certain time/gc cycles. : There're likely less garbage in tenured gen and it's collected : less often. It's call major collection and it's much slower. : Unless it's a JVM job, that's all you need to know besides the : purpose of different GC algorithms IMHO. : Before 64bits was available, memory was tight for large app an
m*t
13 楼
Unless you were interviewing for an architect or performance tuning position, that question was indeed off the mark.
perm gen store the class definition, if you hot deployed in Jboss/tomcat, sometimes, the perm gen will keep increasing because of tomcat memory leak bug and eventually will kill the app server.
【在 w******f 的大作中提到】 : perm gen store the class definition, if you hot deployed in Jboss/tomcat, : sometimes, the perm gen will keep increasing because of tomcat memory leak : bug and eventually will kill the app server.
i think this is a fair question for a 4-year-experience candidate. investment bank's IT deals with huge volumn. memory is always an issue. Please don't use such racist comment.
【在 B*****g 的大作中提到】 : 他就是想把你fail了,然后找一个老印
B*g
22 楼
一个问题答不上来就把人家fail了还不是找茬?
【在 W*******r 的大作中提到】 : i think this is a fair question for a 4-year-experience candidate. : investment bank's IT deals with huge volumn. memory is always an issue. : Please don't use such racist comment.
W*r
23 楼
He could be a mean interviewer. Buy it has nothing to do with race.
【在 B*****g 的大作中提到】 : 一个问题答不上来就把人家fail了还不是找茬?
B*g
24 楼
概率很大
【在 W*******r 的大作中提到】 : He could be a mean interviewer. Buy it has nothing to do with race.