Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2026872
  • 博文数量: 413
  • 博客积分: 10926
  • 博客等级: 上将
  • 技术积分: 3862
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-09 18:14
文章分类

全部博文(413)

文章存档

2015年(5)

2014年(1)

2013年(5)

2012年(6)

2011年(138)

2010年(85)

2009年(42)

2008年(46)

2007年(26)

2006年(59)

分类: Java

2010-09-13 11:50:37

  1. Package
    java.lang.
  2. Object
    It is the root base class of java classes hierarchy.
  3. Class
    It is in-memory representation of Java class. This representation serves as the starting point for querying class-felated information (such as modifier(static, public\private\protected, abstract, final), field, method).
  4. System
    • Operate input stream, output stream, error output stream
    • Get environment
    • Get/Set system properties
      The system properties are key-value pairs. The default properties provided ty VM are:
              java.vendor.url
              java
      .class.path
              user
      .home
              java
      .class.version
              os
      .version
              java
      .vendor
              user
      .dir
              user
      .timezone
              path
      .separator
              os
      .name
              os
      .arch
              line
      .separator
              file
      .separator
              user
      .name
              java
      .version
              java
      .home

    • Load library
    • Copy array
    • Get current time
    • Inform VM to run garbage collection at some good time
    • Inform to exit VM and stop program
  5. Runtime
    • Add VM shutdown hook
    • Load library
    • Memory
      1. Get maximum memory
      2. Get free/total memory available for the running program
    • Execute the specified program in the seperate process
    • Inform to stop VM
    • Inform to start garbage collection
  6. xxx
阅读(703) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~