s*****i 发帖数: 355 | 1 面试第一题,解释java permanant generation和young generation的工作原理以及它
们互相是怎样协作的。
可怜我只是大概知道这两个东西的概念,随便说了说就被他打断,他说你4年工作经验
,怎么连这个都不知道?
然后就随便问了点东西了事。
唉 |
k****u 发帖数: 133 | |
s*****i 发帖数: 355 | 3 no. 某投行IT部门
【在 k****u 的大作中提到】 : 连这个都问?难道是开发JVM的工作?
|
g*****g 发帖数: 34805 | 4 这个还好,我被烤问过strong reference跟weak reference,我一点idea
都没有。
【在 s*****i 的大作中提到】 : 面试第一题,解释java permanant generation和young generation的工作原理以及它 : 们互相是怎样协作的。 : 可怜我只是大概知道这两个东西的概念,随便说了说就被他打断,他说你4年工作经验 : ,怎么连这个都不知道? : 然后就随便问了点东西了事。 : 唉
|
s*****i 发帖数: 355 | 5 这个我还知道呢, 55555 我还用WeakHashMap写过canonical map.当然具体的工作原理
我也不清楚,只知道java doc上的定义以及gc怎么recycle
好虫介绍一下perm gen和young gen哪里有比较详细的描述?我google出来大部分都是
泛泛的东西。而且我想知道了解这么底层的有什么用吗,就是为了面试难别人?
【在 g*****g 的大作中提到】 : 这个还好,我被烤问过strong reference跟weak reference,我一点idea : 都没有。
|
b******y 发帖数: 9224 | 6 换个公司接着面试吧。公司有的是,如果不合适,就算进去了也没劲。 |
g*****g 发帖数: 34805 | 7 我觉得这个GC的问题,好歹configure GC算法的时候能用上。
这个strong/weak reference,真是写cache framework才有用了。
【在 s*****i 的大作中提到】 : 这个我还知道呢, 55555 我还用WeakHashMap写过canonical map.当然具体的工作原理 : 我也不清楚,只知道java doc上的定义以及gc怎么recycle : 好虫介绍一下perm gen和young gen哪里有比较详细的描述?我google出来大部分都是 : 泛泛的东西。而且我想知道了解这么底层的有什么用吗,就是为了面试难别人?
|
s*****i 发帖数: 355 | 8 没做过config gc那么高级的工作,是不是4年白混了
【在 g*****g 的大作中提到】 : 我觉得这个GC的问题,好歹configure GC算法的时候能用上。 : 这个strong/weak reference,真是写cache framework才有用了。
|
Z****e 发帖数: 2999 | 9 根本就没听过这个东东,又不是做JVM,要知道这个做甚。。。老印就爱顾弄玄虚
【在 s*****i 的大作中提到】 : no. 某投行IT部门
|
n*********n 发帖数: 580 | 10 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 发帖数: 34805 | 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
【在 s*****i 的大作中提到】 : 这个我还知道呢, 55555 我还用WeakHashMap写过canonical map.当然具体的工作原理 : 我也不清楚,只知道java doc上的定义以及gc怎么recycle : 好虫介绍一下perm gen和young gen哪里有比较详细的描述?我google出来大部分都是 : 泛泛的东西。而且我想知道了解这么底层的有什么用吗,就是为了面试难别人?
|
s*****i 发帖数: 355 | 12 谢谢好虫
【在 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 发帖数: 2416 | 13 Unless you were interviewing for an architect or performance tuning position,
that question was indeed off the mark.
【在 s*****i 的大作中提到】 : 面试第一题,解释java permanant generation和young generation的工作原理以及它 : 们互相是怎样协作的。 : 可怜我只是大概知道这两个东西的概念,随便说了说就被他打断,他说你4年工作经验 : ,怎么连这个都不知道? : 然后就随便问了点东西了事。 : 唉
|
B*****g 发帖数: 34098 | 14 你也有不会的?
【在 g*****g 的大作中提到】 : 这个还好,我被烤问过strong reference跟weak reference,我一点idea : 都没有。
|
g*****g 发帖数: 34805 | 15 虽然我也算面霸,面试有10%的题不懂还是很正常的。
【在 B*****g 的大作中提到】 : 你也有不会的?
|
w******f 发帖数: 620 | 16 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. |
s*****i 发帖数: 355 | 17 string literal也存在perm gen吧。我面的是core java,另外可以定义perm space大小
【在 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.
|
Q**g 发帖数: 183 | 18 就是做application,这也是有用的。尤其是latency sensitive的场合,需要很小心
的调整JVM ergonomics来减小GC的影响。理解不同GC算法的工作原理当然会有帮助。
【在 Z****e 的大作中提到】 : 根本就没听过这个东东,又不是做JVM,要知道这个做甚。。。老印就爱顾弄玄虚
|
s*****i 发帖数: 355 | 19 没做过这部分,所以我只好老老实实的说不太清楚。不过他好象就没什么兴趣继续问下
去了
【在 Q**g 的大作中提到】 : 就是做application,这也是有用的。尤其是latency sensitive的场合,需要很小心 : 的调整JVM ergonomics来减小GC的影响。理解不同GC算法的工作原理当然会有帮助。
|
B*****g 发帖数: 34098 | 20 他就是想把你fail了,然后找一个老印
【在 s*****i 的大作中提到】 : 没做过这部分,所以我只好老老实实的说不太清楚。不过他好象就没什么兴趣继续问下 : 去了
|
|
|
W*******r 发帖数: 15 | 21 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 发帖数: 34098 | 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 发帖数: 15 | 23 He could be a mean interviewer. Buy it has nothing to do with race.
【在 B*****g 的大作中提到】 : 一个问题答不上来就把人家fail了还不是找茬?
|
B*****g 发帖数: 34098 | 24 概率很大
【在 W*******r 的大作中提到】 : He could be a mean interviewer. Buy it has nothing to do with race.
|