WebCourses
Στιγμιαίο Μήνυμα
ΙΣΤΟΧΩΡΟΣ ΜΑΘΗΜΑΤΩΝ Η.Μ.Μ.Υ.

ΙΣΤΟΧΩΡΟΣ ΜΑΘΗΜΑΤΩΝ ΗΜΜΥ

Πληροφοριακό Σύστημα Διαχείρισης Μαθημάτων και Υποστήριξης Εφαρμογών Εκπαίδευσης

Ενημέρωση

18 Μαρτίου 2010

[ΠΛΗ311] Βάσεις Δεδομένων

18 Μαρτίου 2010

[ΣΗΕ211] Εισαγωγή στην Ενεργειακή Τεχνολογία Ι

18 Μαρτίου 2010

[ΗΡΥ414] Οπτοηλεκτρονική

18 Μαρτίου 2010

[ΤΗΛ611] Θεωρία Κωδικοποίησης

Επιλογές

Σύνδεσμοι

Καλώς ήρθατε

Ο Ιστοχώρος Μαθημάτων αποτελεί ένα ολοκληρωμένο πληροφοριακό σύστημα διαχείρισης μαθημάτων, υποστήριξης εκπαιδευτικών διαδικασιών και εφαρμογών εκπαίδευσης στο διαδίκτυο. Αναπτύχθηκε με στόχο την ενίσχυση της εκπαιδευσης, την οργάνωση των διαδικασιών και την υποστήριξη εκπαιδευτικών κοινοτήτων για τις ανάγκες του τμήματος Ηλεκτρονικών Μηχανικών και Μηχανικών Υπολογιστών του Πολυτεχνείου Κρήτης

Σύνδεση στον Ιστοχώρο Μαθημάτων

 
Είσοδος ως χρήστης του Ιστοχώρου
  Όνομα χρήστη  
  Κωδικός
Είσοδος ως Προσωρινός Χρήστης (Guest) [Είσοδος]
Δεν έχω λογαριασμό χρήστη [Eγγραφή χρήστη]
Δεν θυμάμαι τον κωδικό πρόσβασης [Ανάκτηση]
 

Σύντομες Πληροφορίες

Συνδεδεμένοι χρήστες αυτή την στιγμή 65
Εγγεγραμμένοι χρήστες στον Ιστοχώρο 1279
Μαθήματα που φιλοξενούνται στον Ιστοχώρο
Σειρές μαθημάτων που έχουν δημιουργηθεί
89
221
Προσβάσεις (hits) στον Ιστοχώρο
Συνδέσεις χρηστών στον Ιστοχώρο
10350093
592233

Ανακοινώσεις

09 Μαρτίου 2010

Τετάρτη 10 Μαρτίου 2010, 11πμ
Αμφιθέατρο Κτιρίου Επιστημών


Ομιλητής: Dr. Heinz Kabutz

Τίτλος: The Secrets of Concurrency

Περίληψη


From the first version of Java, we have been able to create multiple threads. Initially, this was mostly used for making our GUIs more responsive. For example, we would read a file using a separate thread from the main Swing thread, updating the GUI as to the progress. Running many active threads on one CPU seldom made the program faster, on the contrary, the swapping overhead frequently bogged down the machine. However, in the last few years, the speed increase of CPUs has not been the clock speed, but the number of cores on each chip. We are in a position now where we can get a job done much faster by splitting it between multiple threads. Unfortunately there is still a lack of understanding of the mysteries surrounding threading. This has caused programmers to write code that is fundamentally incorrect, not taking into account best practices for threading.

In this talk, we look at ten laws that can help us to write more correct threaded code:

1. The Law of the Sabotaged Doorbell
We show how to manage the InterruptedException. Since they are thrown by several methods in Java 5, this is useful to know.

2. The Law of the Overstocked Haberdashery
Threads use up resources, even if they are not active, putting an upper limit on the number of threads in our system.

2. The Law of the Xerox Copier
Instead of returning original objects, we make copies and return those. Immutability makes it much easier to reason about concurrency.

4. The Law of the Blind Spot
Fields can be cached locally by threads to improve the performance of retrieving their value. Thus, if one thread modifies a field, the other threads might not see the updated value.

5. The Law of the Leaked Memo
The Java Memory Model allows the hotspot compiler to reorder statements, as long as the final result is still correct. This can lead to some results which seem logically impossible.

6. The Law of the Corrupt Politician
Data races can cause the best objects to become corrupt. They can be really difficult to detect and analyse. In this law, we look at how we can avoid these problems.

7. The Law of the Micromanager
Adding synchronization to our code can cause problems with contention, where threads are waiting for each other to execute a critical section.

8. The Law of Cretan Driving
The rules of the road for Java threading are quite strict, but not enforced by all of the Java Virtual Machines. Even though your code seems correct, it might still be wrong.

9. The Law of Sudden Riches
Sometimes a system has latent defects that are only seen every few months. When running the system on faster hardware, these defects are amplified and can happen more frequently.

10. The Law of the Uneaten Lutefisk
It is often possible to detect deadlocks in Java, but unfortunately it is impossible to recover cleanly. The only option is to analyze the problem that caused it and then restart the JVM.


Σύντομο Βιογραφικό

Heinz was born in South Africa in the early 70s and has lived since 2006 on the Akrotiri in Chania on the beautiful island of Crete. He is an independent researcher focusing on the Java Programming Language and has published almost 200 articles on advanced Java topics, ranging from concurrency to performance tuning to reflection. He has been a Java Champion since 2005. Heinz teaches Java classes to companies to fund his research activities. Heinz has spoken at numerous software engineering conferences, such as TheServerSide Java Symposium Las Vegas and Barcelona, Sun Tech Days Johannesburg, Frankfurt, London and Athens, JavaZone in Norway, JavaPolis in Belgium and Jazoon in Zürich.

[περισσότερα]

19 Φεβρουαριου 2010

Λόγω μη έγκαιρης ενημέρωσης του διδάσκοντα η εξέταση του μαθήματος "Αρχες Βιοϊατρικών Συστημάτων" στα πλαίσια της εμβόλιμης εξεταστικής θα πραγματοποιηθεί την Παρασκευή 26/2/2010 και ώρα 11:00-14:00 στο ξύλινο αμφιθέατρο.

[περισσότερα]

11 Φεβρουαριου 2010

Οι υπηρεσίες του Ιστοχώρου Μαθημάτων δεν θα είναι διαθέσιμες την Παρασκευή 12 Φεβρουαρίου 2010 από τις 09:30 μέχρι τις 13:00 λόγω μετεγκατάστασης των εξυπηρετητών υποστήριξης σε νέους χώρους.

Ευχαριστούμε για την κατανόησή σας.

[περισσότερα]

07 Δεκεμβρίου 2009

Σας ενημερώνουμε οτι ο Ιστοχώρος Μαθημάτων του τμήματος δεν ήταν προσβάσιμος (5-6/12/2009) κατά διαστήματα λόγω πολλαπλών διακοπών στην παροχή ρεύματος στις εγκαταστάσεις των εξυπηρετητών του Ιστοχώρου

[περισσότερα]

17 Σεπτεμβρίου 2009

Οι υπηρεσίες του Ιστοχώρου Μαθημάτων δεν θα είναι διαθέσιμες την Πέμπτη 17 Σεπτεμβρίου 2009 κατά το διάστημα 12:30-15:00 λόγω προγραμματισμένων εργασιών συντήρησης

[περισσότερα]