• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Jvm fundamentals
 

Jvm fundamentals

on

  • 1,062 views

Basic slides about some of the news

Basic slides about some of the news

Statistics

Views

Total Views
1,062
Views on SlideShare
992
Embed Views
70

Actions

Likes
0
Downloads
8
Comments
0

3 Embeds 70

http://migue.github.com 49
http://localhost 17
http://migue.github.io 4

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Jvm fundamentals Jvm fundamentals Presentation Transcript

    • Java Fundamentals
    • Java 7: Project CoinImproved exception handlingStrings as switch selectorsDiamond syntaxTWR (Try With Resource)Some more . . .
    • Java 7: NIO.2Easy handling of files ,file systemsand permissionsNew file visitor interface to traversefilesystemsWatch servicesThe most important one: asynchronousI/O: Futures style and callback style
    • Dependency Injection
    • Quick introInversion of Control and DependencyInjectionJSR-330Some examples
    • Modern Concurrency
    • Basic Concepts (to becompleted)SafetyLivenessPerformanceReusability
    • Building blocks (I)Atomic classLocksCountdownLatchConcurrent HashMapCopyOnWriteArrayList
    • Building blocks (II)QueuesBlocking queuesTransferQueues (added in Java 7)Thread executorsFutures
    • ForkJoin frameworkMaximize processing capabilitiesSubtasks communicating each otherMap-Reduce (divide and conquer) Split Collect
    • Classfiles and bytecode
    • Classloading Loading Reading the classfile Linking Verification Preparation Resolutiou
    • Classloaders Bootstrap classloader Usually native code Extension classloader Standard extensions Application classloader Application classes
    • Method handles New API for invoking methods What is a MethodHandle? Comparative example Why choose them? Full access to all methods (context) Typesafe at runtime. No extra permgen
    • Understanding classfiles Binary blobs Hard to work with it directly A quick intro to javap Examining classfiles
    • A quick look to bytecode Intermediate representation Output from javac (not highly optimized) JIT compiler will optimize it!
    • A quick look to bytecode Runtime environment Stack based Overview of the opcodes: structure Name Args Stack Layout Description
    • A quick look to bytecode Load/Store opcodes Arithmetic opcodes Control execution opcodes Invocation opcodes Platform operations
    • A quick look to bytecode To be completed with . . . New invokedynamic bytecode
    • Coming soon . . .
    • Coming soon . . . Understanding performance Polyglot programming Alternative JVM languages Unit testing, TDD, CI More on modern concurrency Actors, STM