• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jvm command Line Parameters or options

 
berender mavi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Recently i was asked a question in an interview that when we provide command line parameter like -Xms or -Xmx while running a java program How jvm actually reads those parameters or How does jvm parse the parameters ?


Thanks.





 
Winston Gutkowski
Bartender
Pie
Posts: 10422
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
berender mavi wrote:Recently i was asked a question in an interview that when we provide command line parameter like -Xms or -Xmx while running a java program How jvm actually reads those parameters or How does jvm parse the parameters ?

I don't understand the question. Do you mean how does the JVM (and I'm not at all sure that it is the JVM) recognize those parameters?

Perhaps you should provide the question exactly as it was asked.

Winston
 
berender mavi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes winston my question is same as you guessed it.Sorry if my post was not clear to you

how does the JVM recognize those parameters?
 
Winston Gutkowski
Bartender
Pie
Posts: 10422
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
berender mavi wrote:how does the JVM recognize those parameters?

Well, they all begin with "-X"; I suspect that's a help.

Winston
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic