Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Michał Warecki
OpenJDK Hackathon
Building and extending OpenJDK
Outline
● Introduction to OpenJDK
● Building OpenJDK
● Extending OpenJDK
● Introduction to Jtreg
WJUG-JCP
OpenJDK
● Reference implementation of JLS and JVM
● Open source
● Tools (JVisualVM, JMH, jHAT etc.)
● Extensions (e. g. Na...
OpenJDK
[michal@michal openjdk8]$ tree -L 1 -d
├── build
├── common
├── corba
├── hotspot
├── jaxp
├── jaxws
├── jdk
├── l...
Download the code!
$ hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8
$ cd openjdk8
$ chmod a+x get_source.sh
$ ./ge...
Alternatives (try it!)
● Brand new Shenandoah GC:
$ hg clone http://icedtea.classpath.org/hg/shenandoah/openjdk8
shenandoa...
Look at the code!
10 minutes
WJUG-JCP
Build the code!
$ chmod a+x configure
$ bash configure
$ make clean images
(yes, that's it, simple)
WJUG-JCP
Extend OpenJDK
Follow the leading
WJUG-JCP
Run the test!
https://github.com/michalwarecki/OpenJDKHackaton.git
$ ./run_test.sh $DIR_OR_TEST_TO_RUN
WJUG-JCP
Look at the test code!
Follow the leading
WJUG-JCP
Make your own extension!
20 minutes
WJUG-JCP
Thanks!
Upcoming SlideShare
Loading in …5
×

Hackathon - building and extending OpenJDK

First Adopt OpenJDK hackathon in Warsaw Java User Group - Building and extending OpenJDK

  • Be the first to comment

Hackathon - building and extending OpenJDK

  1. 1. Michał Warecki OpenJDK Hackathon Building and extending OpenJDK
  2. 2. Outline ● Introduction to OpenJDK ● Building OpenJDK ● Extending OpenJDK ● Introduction to Jtreg WJUG-JCP
  3. 3. OpenJDK ● Reference implementation of JLS and JVM ● Open source ● Tools (JVisualVM, JMH, jHAT etc.) ● Extensions (e. g. Nashorn) WJUG-JCP
  4. 4. OpenJDK [michal@michal openjdk8]$ tree -L 1 -d ├── build ├── common ├── corba ├── hotspot ├── jaxp ├── jaxws ├── jdk ├── langtools ├── make ├── nashorn └── test WJUG-JCP
  5. 5. Download the code! $ hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8 $ cd openjdk8 $ chmod a+x get_source.sh $ ./get_source.sh WJUG-JCP
  6. 6. Alternatives (try it!) ● Brand new Shenandoah GC: $ hg clone http://icedtea.classpath.org/hg/shenandoah/openjdk8 shenandoah ● Java 9: $ hg clone http://hg.openjdk.java.net/jdk9/dev 9dev
  7. 7. Look at the code! 10 minutes WJUG-JCP
  8. 8. Build the code! $ chmod a+x configure $ bash configure $ make clean images (yes, that's it, simple) WJUG-JCP
  9. 9. Extend OpenJDK Follow the leading WJUG-JCP
  10. 10. Run the test! https://github.com/michalwarecki/OpenJDKHackaton.git $ ./run_test.sh $DIR_OR_TEST_TO_RUN WJUG-JCP
  11. 11. Look at the test code! Follow the leading WJUG-JCP
  12. 12. Make your own extension! 20 minutes WJUG-JCP
  13. 13. Thanks!

×